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