gnu.crypto.sasl.srp

Class SRPClient

Implemented Interfaces:
SaslClient

public class SRPClient
extends ClientMechanism
implements SaslClient

The SASL-SRP client-side mechanism.
Version:
$Revision: 1.9 $

Field Summary

(package private) BigInteger
A
(package private) BigInteger
B
(package private) BigInteger
N
(package private) BigInteger
g

Fields inherited from class gnu.crypto.sasl.ClientMechanism

authorizationID, channelBinding, complete, handler, mechanism, properties, protocol, serverName, state

Constructor Summary

SRPClient()

Method Summary

protected byte[]
engineUnwrap(byte[] incoming, int offset, int len)
protected byte[]
engineWrap(byte[] outgoing, int offset, int len)
byte[]
evaluateChallenge(byte[] challenge)
protected String
getNegotiatedQOP()
protected String
getNegotiatedRawSendSize()
protected String
getNegotiatedStrength()
protected String
getReuse()
boolean
hasInitialResponse()
protected void
initMechanism()
protected void
resetMechanism()

Methods inherited from class gnu.crypto.sasl.ClientMechanism

dispose, engineUnwrap, engineWrap, evaluateChallenge, getAuthorizationID, getMechanismName, getNegotiatedMaxBuffer, getNegotiatedPolicyForwardSecrecy, getNegotiatedPolicyNoActive, getNegotiatedPolicyNoAnonymous, getNegotiatedPolicyNoDictionary, getNegotiatedPolicyNoPlainText, getNegotiatedPolicyPassCredentials, getNegotiatedProperty, getNegotiatedQOP, getNegotiatedRawSendSize, getNegotiatedServerAuth, getNegotiatedStrength, getReuse, hasInitialResponse, init, initMechanism, isComplete, reset, resetMechanism, unwrap, wrap

Field Details

A

(package private)  BigInteger A

B

(package private)  BigInteger B

N

(package private)  BigInteger N

g

(package private)  BigInteger g

Constructor Details

SRPClient

public SRPClient()

Method Details

engineUnwrap

protected byte[] engineUnwrap(byte[] incoming,
                              int offset,
                              int len)
            throws SaslException
Overrides:
engineUnwrap in interface ClientMechanism

engineWrap

protected byte[] engineWrap(byte[] outgoing,
                            int offset,
                            int len)
            throws SaslException
Overrides:
engineWrap in interface ClientMechanism

evaluateChallenge

public byte[] evaluateChallenge(byte[] challenge)
            throws SaslException
Overrides:
evaluateChallenge in interface ClientMechanism

getNegotiatedQOP

protected String getNegotiatedQOP()
Overrides:
getNegotiatedQOP in interface ClientMechanism

getNegotiatedRawSendSize

protected String getNegotiatedRawSendSize()
Overrides:
getNegotiatedRawSendSize in interface ClientMechanism

getNegotiatedStrength

protected String getNegotiatedStrength()
Overrides:
getNegotiatedStrength in interface ClientMechanism

getReuse

protected String getReuse()
Overrides:
getReuse in interface ClientMechanism

hasInitialResponse

public boolean hasInitialResponse()
Overrides:
hasInitialResponse in interface ClientMechanism

initMechanism

protected void initMechanism()
            throws SaslException
Overrides:
initMechanism in interface ClientMechanism

resetMechanism

protected void resetMechanism()
            throws SaslException
Overrides:
resetMechanism in interface ClientMechanism

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