gnu.crypto.sasl.crammd5
Class CramMD5Server
java.lang.Object
gnu.crypto.sasl.ServerMechanism
gnu.crypto.sasl.crammd5.CramMD5Server
- All Implemented Interfaces:
- SaslServer
public class CramMD5Server
- extends ServerMechanism
- implements SaslServer
The CRAM-MD5 SASL server-side mechanism.
- Version:
- $Revision: 1.4 $
Methods inherited from class gnu.crypto.sasl.ServerMechanism |
dispose, engineUnwrap, engineWrap, getAuthorizationID, getMechanismName, getNegotiatedMaxBuffer, getNegotiatedPolicyForwardSecrecy, getNegotiatedPolicyNoActive, getNegotiatedPolicyNoAnonymous, getNegotiatedPolicyNoDictionary, getNegotiatedPolicyNoPlainText, getNegotiatedPolicyPassCredentials, getNegotiatedProperty, getNegotiatedRawSendSize, getNegotiatedServerAuth, getNegotiatedStrength, getReuse, init, reset, unwrap, wrap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CramMD5Server
public CramMD5Server()
initMechanism
protected void initMechanism()
throws SaslException
- Specified by:
initMechanism
in class ServerMechanism
- Throws:
SaslException
resetMechanism
protected void resetMechanism()
throws SaslException
- Specified by:
resetMechanism
in class ServerMechanism
- Throws:
SaslException
evaluateResponse
public byte[] evaluateResponse(byte[] response)
throws SaslException
- Specified by:
evaluateResponse
in interface SaslServer
- Specified by:
evaluateResponse
in class ServerMechanism
- Throws:
SaslException
isComplete
public boolean isComplete()
- Specified by:
isComplete
in interface SaslServer
- Overrides:
isComplete
in class ServerMechanism
getNegotiatedQOP
protected String getNegotiatedQOP()
- Overrides:
getNegotiatedQOP
in class ServerMechanism
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.