|
All LDAP Classes Internal LDAP Classes |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.sasl.client.DigestChallenge
Implements the DigestChallenge class which will be used by the DigestMD5SaslClient class
Field Summary | |
private static int |
CIPHER_3DES
|
private static int |
CIPHER_DES
|
private static int |
CIPHER_RC4
|
private static int |
CIPHER_RC4_40
|
private static int |
CIPHER_RC4_56
|
private static int |
CIPHER_RECOGNIZED_MASK
|
private static int |
CIPHER_UNRECOGNIZED
|
private java.lang.String |
m_algorithm
|
private java.lang.String |
m_characterSet
|
private int |
m_cipherOptions
|
private int |
m_maxBuf
|
private java.lang.String |
m_nonce
|
private int |
m_qop
|
private java.util.ArrayList |
m_realms
|
private boolean |
m_staleFlag
|
static int |
QOP_AUTH
|
static int |
QOP_AUTH_CONF
|
static int |
QOP_AUTH_INT
|
static int |
QOP_UNRECOGNIZED
|
Constructor Summary | |
(package private) |
DigestChallenge(byte[] challenge)
|
Method Summary | |
(package private) void |
checkSemantics(DirectiveList dirList)
Checks the semantics of the directives in the directive list as parsed from the digest challenge byte array. |
java.lang.String |
getAlgorithm()
|
java.lang.String |
getCharacterSet()
|
int |
getCipherOptions()
|
int |
getMaxBuf()
|
java.lang.String |
getNonce()
|
int |
getQop()
Return the quality-of-protection |
java.util.ArrayList |
getRealms()
Return the list of the All the Realms |
boolean |
getStaleFlag()
|
(package private) void |
handleAlgorithm(ParsedDirective pd)
This function implements the semenatics of the charset directive. |
(package private) void |
handleCharset(ParsedDirective pd)
This function implements the semenatics of the charset directive. |
(package private) void |
handleCipher(ParsedDirective pd)
This function implements the semenatics of the cipher-opts directive directive. |
(package private) void |
handleMaxbuf(ParsedDirective pd)
This function implements the semenatics of the Maxbuf directive. |
(package private) void |
handleNonce(ParsedDirective pd)
This function implements the semenatics of the nonce directive. |
(package private) void |
handleQop(ParsedDirective pd)
This function implements the semenatics of the qop (quality of protection) directive. |
(package private) void |
handleRealm(ParsedDirective pd)
This function implements the semenatics of the realm directive. |
(package private) void |
handleStale(ParsedDirective pd)
This function implements the semenatics of the stale directive. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int QOP_AUTH
public static final int QOP_AUTH_INT
public static final int QOP_AUTH_CONF
public static final int QOP_UNRECOGNIZED
private static final int CIPHER_3DES
private static final int CIPHER_DES
private static final int CIPHER_RC4_40
private static final int CIPHER_RC4
private static final int CIPHER_RC4_56
private static final int CIPHER_UNRECOGNIZED
private static final int CIPHER_RECOGNIZED_MASK
private java.util.ArrayList m_realms
private java.lang.String m_nonce
private int m_qop
private boolean m_staleFlag
private int m_maxBuf
private java.lang.String m_characterSet
private java.lang.String m_algorithm
private int m_cipherOptions
Constructor Detail |
DigestChallenge(byte[] challenge) throws SaslException
Method Detail |
void checkSemantics(DirectiveList dirList) throws SaslException
dirList
- the list of directives parsed from the digest challenge
SaslException
- If a semantic error occursvoid handleNonce(ParsedDirective pd) throws SaslException
pd
- ParsedDirective
SaslException
- If an error occurs due to too many nonce
valuesvoid handleRealm(ParsedDirective pd)
pd
- ParsedDirectivevoid handleQop(ParsedDirective pd) throws SaslException
pd
- ParsedDirective
SaslException
- If an error occurs due to too many qop
directivesvoid handleMaxbuf(ParsedDirective pd) throws SaslException
pd
- ParsedDirective
SaslException
- If an error occurvoid handleCharset(ParsedDirective pd) throws SaslException
pd
- ParsedDirective
SaslException
- If an error occurs dur to too many charset
directives or Invalid character encoding
directivevoid handleAlgorithm(ParsedDirective pd) throws SaslException
pd
- ParsedDirective
SaslException
- If an error occurs due to too many algorith
directive or Invalid algorithm directive
valuevoid handleCipher(ParsedDirective pd) throws SaslException
pd
- ParsedDirective
SaslException
- If an error occurs due to Too many cipher
directivesvoid handleStale(ParsedDirective pd) throws SaslException
pd
- ParsedDirective
SaslException
- If an error occurs due to Too many stale
directives or Invalid stale directive valuepublic java.util.ArrayList getRealms()
public java.lang.String getNonce()
public int getQop()
public boolean getStaleFlag()
public int getMaxBuf()
public java.lang.String getCharacterSet()
public java.lang.String getAlgorithm()
public int getCipherOptions()
|
All LDAP Classes Internal LDAP Classes |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |