| java.lang.Object gov.nist.siplite.stack.authentication.DigestClientAuthentication
DigestClientAuthentication | public DigestClientAuthentication(Vector credentials)(Code) | | Constructor with initial credentials.
Parameters: credentials - array of credentials |
createAuthorizationHeader | public AuthorizationHeader createAuthorizationHeader(String scheme) throws ParseException(Code) | | Creates a new AuthorizationHeader based on the newly supplied
scheme value.
Parameters: scheme - - the new string value of the scheme. throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the scheme value. the newly created AuthorizationHeader object. |
createNewRequest | public Request createNewRequest(SipStack sipStack, Request originalRequest, Response response, int count)(Code) | | Creates a new request.
Parameters: sipStack - the curent SIP stack context Parameters: originalRequest - initiating request Parameters: response - reply to original request Parameters: count - number of request for nonce-count(please see RFC 2617, 3.2.2) the new request object with authenticationheaders |
createProxyAuthorizationHeader | public ProxyAuthorizationHeader createProxyAuthorizationHeader(String scheme) throws ParseException(Code) | | Creates a new ProxyAuthorizationHeader based on the newly supplied
scheme value.
Parameters: scheme - - the new string value of the scheme. throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the scheme value. the newly created ProxyAuthorizationHeader object. |
getCredentials | public Credentials getCredentials(String realm)(Code) | | Gets the credentials to use int the authentication request.
Parameters: realm - the domain of the requested credentials the requested credentials |
toHexString | public static String toHexString(byte b)(Code) | | Converts an array of bytes to an hexadecimal string.
a string Parameters: b - bytes array to convert to a hexadecimalstring |
|
|