gnu.crypto.sasl.srp

Class SRPServer

Implemented Interfaces:
SaslServer

public class SRPServer
extends ServerMechanism
implements SaslServer

The SASL-SRP server-side mechanism.

Version:
$Revision: 1.6 $

Field Summary

Fields inherited from class gnu.crypto.sasl.ServerMechanism

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

Constructor Summary

SRPServer()

Method Summary

protected byte[]
engineUnwrap(byte[] incoming, int offset, int len)
protected byte[]
engineWrap(byte[] outgoing, int offset, int len)
byte[]
evaluateResponse(byte[] response)
protected String
getNegotiatedQOP()
protected String
getNegotiatedRawSendSize()
protected String
getNegotiatedStrength()
protected String
getReuse()
protected void
initMechanism()
protected void
resetMechanism()

Methods inherited from class gnu.crypto.sasl.ServerMechanism

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

Constructor Details

SRPServer

public SRPServer()

Method Details

engineUnwrap

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


engineWrap

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


evaluateResponse

public byte[] evaluateResponse(byte[] response)
            throws SaslException
Overrides:
evaluateResponse in interface ServerMechanism


getNegotiatedQOP

protected String getNegotiatedQOP()
Overrides:
getNegotiatedQOP in interface ServerMechanism


getNegotiatedRawSendSize

protected String getNegotiatedRawSendSize()
Overrides:
getNegotiatedRawSendSize in interface ServerMechanism


getNegotiatedStrength

protected String getNegotiatedStrength()
Overrides:
getNegotiatedStrength in interface ServerMechanism


getReuse

protected String getReuse()
Overrides:
getReuse in interface ServerMechanism


initMechanism

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


resetMechanism

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


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