| Modifier and Type | Field and Description |
|---|---|
| protected boolean | |
| protected boolean | |
| protected static Logger | |
| private static final int | |
| protected byte[] | |
| private static final String | SASL_LOGGER_NAME
Logger for debug messages |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public void | |
| protected void | finalize()
Overrides java. Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
| public String | |
| public Object | Returns: value of property; only QOP is applicable to CRAM-MD5.Retrieves the negotiated property. |
| pack-priv static final String | HMAC_MD5(byte[] key, byte[] text)
Hashes its input arguments according to HMAC-MD5 (RFC 2104) and returns the resulting digest in its ASCII representation. |
| private static synchronized void | |
| public boolean | Returns: true if has completed; false otherwise;Determines whether this mechanism has completed. |
| public byte[] | |
| public byte[] |
| aborted | back to summary |
|---|---|
| protected boolean aborted | |
| completed | back to summary |
|---|---|
| protected boolean completed | |
| logger | back to summary |
|---|---|
| protected static Logger logger | |
| MD5_BLOCKSIZE | back to summary |
|---|---|
| private static final int MD5_BLOCKSIZE | |
| pw | back to summary |
|---|---|
| protected byte[] pw | |
| SASL_LOGGER_NAME | back to summary |
|---|---|
| private static final String SASL_LOGGER_NAME Logger for debug messages | |
| CramMD5Base | back to summary |
|---|---|
| protected CramMD5Base() | |
| clearPassword | back to summary |
|---|---|
| protected void clearPassword() | |
| dispose | back to summary |
|---|---|
| public void dispose() throws SaslException | |
| finalize | back to summary |
|---|---|
| protected void finalize() Overrides java. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the
| |
| getMechanismName | back to summary |
|---|---|
| public String getMechanismName() Retrieves this mechanism's name.
| |
| getNegotiatedProperty | back to summary |
|---|---|
| public Object getNegotiatedProperty(String propName) Retrieves the negotiated property.
This method can be called only after the authentication exchange has
completed (i.e., when
| |
| HMAC_MD5 | back to summary |
|---|---|
| pack-priv static final String HMAC_MD5(byte[] key, byte[] text) throws NoSuchAlgorithmException Hashes its input arguments according to HMAC-MD5 (RFC 2104) and returns the resulting digest in its ASCII representation. HMAC-MD5 function is described as follows: MD5(key XOR opad, MD5(key XOR ipad, text)) where key is an n byte key ipad is the byte 0x36 repeated 64 times opad is the byte 0x5c repeated 64 times text is the data to be protected | |
| initLogger | back to summary |
|---|---|
| private static synchronized void initLogger() Sets logger field. | |
| isComplete | back to summary |
|---|---|
| public boolean isComplete() Determines whether this mechanism has completed. CRAM-MD5 completes after processing one challenge from the server.
| |
| unwrap | back to summary |
|---|---|
| public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException Unwraps the incoming buffer. CRAM-MD5 supports no security layer.
| |
| wrap | back to summary |
|---|---|
| public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException Wraps the outgoing buffer. CRAM-MD5 supports no security layer.
| |