gnu.crypto.sasl.srp
Class SRPServer
java.lang.Object
gnu.crypto.sasl.ServerMechanism
gnu.crypto.sasl.srp.SRPServer
- All Implemented Interfaces:
- javax.security.sasl.SaslServer
- public class SRPServer
- extends ServerMechanism
- implements javax.security.sasl.SaslServer
The SASL-SRP server-side mechanism.
- Version:
- $Revision: 1.2 $
Methods inherited from class gnu.crypto.sasl.ServerMechanism |
dispose, getAuthorizationID, getMechanismName, getNegotiatedMaxBuffer, getNegotiatedPolicyForwardSecrecy, getNegotiatedPolicyNoActive, getNegotiatedPolicyNoAnonymous, getNegotiatedPolicyNoDictionary, getNegotiatedPolicyNoPlainText, getNegotiatedPolicyPassCredentials, getNegotiatedProperty, getNegotiatedServerAuth, 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.SaslServer |
dispose, getAuthorizationID, getMechanismName, getNegotiatedProperty, isComplete, unwrap, wrap |
SRPServer
public SRPServer()
initMechanism
protected void initMechanism()
throws javax.security.sasl.SaslException
- Specified by:
initMechanism
in class ServerMechanism
- Throws:
javax.security.sasl.SaslException
resetMechanism
protected void resetMechanism()
throws javax.security.sasl.SaslException
- Specified by:
resetMechanism
in class ServerMechanism
- Throws:
javax.security.sasl.SaslException
evaluateResponse
public byte[] evaluateResponse(byte[] response)
throws javax.security.sasl.SaslException
- Specified by:
evaluateResponse
in interface javax.security.sasl.SaslServer
- Specified by:
evaluateResponse
in class ServerMechanism
- Throws:
javax.security.sasl.SaslException
engineUnwrap
protected byte[] engineUnwrap(byte[] incoming,
int offset,
int len)
throws javax.security.sasl.SaslException
- Overrides:
engineUnwrap
in class ServerMechanism
- Throws:
javax.security.sasl.SaslException
engineWrap
protected byte[] engineWrap(byte[] outgoing,
int offset,
int len)
throws javax.security.sasl.SaslException
- Overrides:
engineWrap
in class ServerMechanism
- Throws:
javax.security.sasl.SaslException
getNegotiatedQOP
protected java.lang.String getNegotiatedQOP()
- Overrides:
getNegotiatedQOP
in class ServerMechanism
getNegotiatedStrength
protected java.lang.String getNegotiatedStrength()
- Overrides:
getNegotiatedStrength
in class ServerMechanism
getNegotiatedRawSendSize
protected java.lang.String getNegotiatedRawSendSize()
- Overrides:
getNegotiatedRawSendSize
in class ServerMechanism
getReuse
protected java.lang.String getReuse()
- Overrides:
getReuse
in class ServerMechanism
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.