public class HttpDigestCredentials extends java.lang.Object implements Credentials
A1 = MD5(username + ':' + realm + ':' + password)
A2 = MD5(method + ':' + uri)
digest = MD5(A1 + ':' + nonce + ':' + A2)
Constructor and Description |
---|
HttpDigestCredentials() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCnonce() |
java.lang.String |
getMethod() |
java.lang.String |
getNc() |
java.lang.String |
getNonce() |
java.lang.String |
getQop() |
java.lang.String |
getRealm() |
byte[] |
getResponse() |
java.lang.String |
getUri() |
void |
setCnonce(java.lang.String cnonce) |
void |
setMethod(java.lang.String method) |
void |
setNc(java.lang.String nc) |
void |
setNonce(java.lang.String nonce) |
void |
setQop(java.lang.String qop) |
void |
setRealm(java.lang.String realm) |
void |
setResponse(byte[] response) |
void |
setUri(java.lang.String uri) |
java.lang.String |
toString() |
public java.lang.String getCnonce()
public void setCnonce(java.lang.String cnonce)
public java.lang.String getMethod()
public void setMethod(java.lang.String method)
public java.lang.String getNc()
public void setNc(java.lang.String nc)
public java.lang.String getNonce()
public void setNonce(java.lang.String nonce)
public java.lang.String getQop()
public void setQop(java.lang.String qop)
public java.lang.String getRealm()
public void setRealm(java.lang.String realm)
public byte[] getResponse()
public void setResponse(byte[] response)
public java.lang.String getUri()
public void setUri(java.lang.String uri)
public java.lang.String toString()
toString
in class java.lang.Object