com.sipresponse.flibblecallmgr.internal.util
Interface ClientAuthenticationMethod

All Known Implementing Classes:
DigestClientAuthenticationMethod

public interface ClientAuthenticationMethod

Get this interface from the nist-sip IM

Author:
olivier deruelle

Method Summary
 java.lang.String generateResponse()
          generate the response
 void initialize(java.lang.String realm, java.lang.String userName, java.lang.String uri, java.lang.String nonce, java.lang.String password, java.lang.String method, java.lang.String cnonce, java.lang.String algorithm)
          Initialize the Client authentication method.
 

Method Detail

initialize

void initialize(java.lang.String realm,
                java.lang.String userName,
                java.lang.String uri,
                java.lang.String nonce,
                java.lang.String password,
                java.lang.String method,
                java.lang.String cnonce,
                java.lang.String algorithm)
                throws java.lang.Exception
Initialize the Client authentication method. This has to be done outside the constructor.

Throws:
java.lang.Exception - if the parameters are not correct.

generateResponse

java.lang.String generateResponse()
generate the response