public class AuthenticationInfo
extends java.lang.Object
Constructor and Description |
---|
AuthenticationInfo(java.lang.String nextNonce,
int nonceCount,
java.lang.String cnonce,
java.lang.String quality,
java.lang.String responseDigest)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientNonce()
Returns the client nonce.
|
java.lang.String |
getNextServerNonce()
Returns the next server nonce.
|
int |
getNonceCount()
Returns the nonce-count value.
|
java.lang.String |
getQuality()
Returns the quality of protection.
|
java.lang.String |
getResponseDigest()
Returns the optional response digest for mutual authentication.
|
int |
hashCode() |
void |
setClientNonce(java.lang.String clientNonce)
Sets the client nonce.
|
void |
setNextServerNonce(java.lang.String nextNonce)
Sets the next server nonce.
|
void |
setNonceCount(int nonceCount)
Sets the nonce-count value.
|
void |
setQuality(java.lang.String qop)
Sets the quality of protection.
|
void |
setResponseDigest(java.lang.String responseDigest)
Sets the optional response digest for mutual authentication.
|
public AuthenticationInfo(java.lang.String nextNonce, int nonceCount, java.lang.String cnonce, java.lang.String quality, java.lang.String responseDigest)
nextNonce
- The next nonce value.nonceCount
- The nonce-count value.cnonce
- The cnonce value.quality
- The quality of protection.responseDigest
- The optional response digest for mutual authentication.public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getClientNonce()
public java.lang.String getNextServerNonce()
public int getNonceCount()
public java.lang.String getQuality()
ChallengeMessage.QUALITY_AUTHENTICATION
for authentication or
ChallengeMessage.QUALITY_AUTHENTICATION_INTEGRITY
for
authentication with integrity protection.public java.lang.String getResponseDigest()
public int hashCode()
hashCode
in class java.lang.Object
public void setClientNonce(java.lang.String clientNonce)
clientNonce
- The client nonce.public void setNextServerNonce(java.lang.String nextNonce)
nextNonce
- The next nonce.public void setNonceCount(int nonceCount)
nonceCount
- The nonceCount value.public void setQuality(java.lang.String qop)
ChallengeMessage.QUALITY_AUTHENTICATION
for authentication or
ChallengeMessage.QUALITY_AUTHENTICATION_INTEGRITY
for
authentication with integrity protection.qop
- The quality of protection.public void setResponseDigest(java.lang.String responseDigest)
responseDigest
- The response digest.Copyright © 2005-2024 Restlet.