gnu.crypto.sasl.srp
Class SRPClient
java.lang.Object
gnu.crypto.sasl.ClientMechanism
gnu.crypto.sasl.srp.SRPClient
- All Implemented Interfaces:
- javax.security.sasl.SaslClient
- public class SRPClient
- extends ClientMechanism
- implements javax.security.sasl.SaslClient
The SASL-SRP client-side mechanism.
- Version:
- $Revision: 1.2 $
|
Field Summary |
(package private) java.math.BigInteger |
A
|
(package private) java.math.BigInteger |
B
|
(package private) java.math.BigInteger |
g
|
(package private) java.math.BigInteger |
N
|
| Methods inherited from class gnu.crypto.sasl.ClientMechanism |
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.SaslClient |
dispose, getMechanismName, getNegotiatedProperty, isComplete, unwrap, wrap |
N
java.math.BigInteger N
g
java.math.BigInteger g
A
java.math.BigInteger A
B
java.math.BigInteger B
SRPClient
public SRPClient()
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
engineUnwrap
protected byte[] engineUnwrap(byte[] incoming,
int offset,
int len)
throws javax.security.sasl.SaslException
- Overrides:
engineUnwrap in class ClientMechanism
- Throws:
javax.security.sasl.SaslException
engineWrap
protected byte[] engineWrap(byte[] outgoing,
int offset,
int len)
throws javax.security.sasl.SaslException
- Overrides:
engineWrap in class ClientMechanism
- Throws:
javax.security.sasl.SaslException
getNegotiatedQOP
protected java.lang.String getNegotiatedQOP()
- Overrides:
getNegotiatedQOP in class ClientMechanism
getNegotiatedStrength
protected java.lang.String getNegotiatedStrength()
- Overrides:
getNegotiatedStrength in class ClientMechanism
getNegotiatedRawSendSize
protected java.lang.String getNegotiatedRawSendSize()
- Overrides:
getNegotiatedRawSendSize in class ClientMechanism
getReuse
protected java.lang.String getReuse()
- Overrides:
getReuse in class ClientMechanism
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.