For the latest news and information visit
The GNU Crypto project

gnu.crypto.sasl.crammd5
Class CramMD5Client

java.lang.Object
  extended bygnu.crypto.sasl.ClientMechanism
      extended bygnu.crypto.sasl.crammd5.CramMD5Client
All Implemented Interfaces:
javax.security.sasl.SaslClient

public class CramMD5Client
extends ClientMechanism
implements javax.security.sasl.SaslClient

The CRAM-MD5 SASL client-side mechanism.

Version:
$Revision: 1.2 $

Field Summary
 
Fields inherited from class gnu.crypto.sasl.ClientMechanism
authorisationID, complete, handler, mechanism, properties, protocol, serverName, state
 
Constructor Summary
CramMD5Client()
           
 
Method Summary
 byte[] evaluateChallenge(byte[] challenge)
           
protected  java.lang.String getNegotiatedQOP()
           
 boolean hasInitialResponse()
           
protected  void initMechanism()
           
protected  void resetMechanism()
           
 
Methods inherited from class gnu.crypto.sasl.ClientMechanism
dispose, engineUnwrap, engineWrap, getAuthorizationID, getMechanismName, getNegotiatedMaxBuffer, getNegotiatedPolicyForwardSecrecy, getNegotiatedPolicyNoActive, getNegotiatedPolicyNoAnonymous, getNegotiatedPolicyNoDictionary, getNegotiatedPolicyNoPlainText, getNegotiatedPolicyPassCredentials, getNegotiatedProperty, getNegotiatedRawSendSize, getNegotiatedServerAuth, getNegotiatedStrength, getReuse, init, isComplete, reset, unwrap, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.security.sasl.SaslClient
dispose, getMechanismName, getNegotiatedProperty, isComplete, unwrap, wrap
 

Constructor Detail

CramMD5Client

public CramMD5Client()
Method Detail

initMechanism

protected void initMechanism()
                      throws javax.security.sasl.SaslException
Specified by:
initMechanism in class ClientMechanism
Throws:
javax.security.sasl.SaslException

resetMechanism

protected void resetMechanism()
                       throws javax.security.sasl.SaslException
Specified by:
resetMechanism in class ClientMechanism
Throws:
javax.security.sasl.SaslException

hasInitialResponse

public boolean hasInitialResponse()
Specified by:
hasInitialResponse in interface javax.security.sasl.SaslClient
Specified by:
hasInitialResponse in class ClientMechanism

evaluateChallenge

public byte[] evaluateChallenge(byte[] challenge)
                         throws javax.security.sasl.SaslException
Specified by:
evaluateChallenge in interface javax.security.sasl.SaslClient
Specified by:
evaluateChallenge in class ClientMechanism
Throws:
javax.security.sasl.SaslException

getNegotiatedQOP

protected java.lang.String getNegotiatedQOP()
Overrides:
getNegotiatedQOP in class ClientMechanism

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.