For the latest news and information visit
The GNU Crypto project

gnu.crypto.sasl.srp
Class SRPServer

java.lang.Object
  extended by gnu.crypto.sasl.ServerMechanism
      extended by gnu.crypto.sasl.srp.SRPServer
All Implemented Interfaces:
SaslServer

public class SRPServer
extends ServerMechanism
implements SaslServer

The SASL-SRP server-side mechanism.

Version:
$Revision: 1.7 $

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, 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
 

Constructor Detail

SRPServer

public SRPServer()
Method Detail

initMechanism

protected void initMechanism()
                      throws SaslException
Specified by:
initMechanism in class ServerMechanism
Throws:
SaslException

resetMechanism

protected void resetMechanism()
                       throws SaslException
Specified by:
resetMechanism in class ServerMechanism
Throws:
SaslException

evaluateResponse

public byte[] evaluateResponse(byte[] response)
                        throws SaslException
Specified by:
evaluateResponse in interface SaslServer
Specified by:
evaluateResponse in class ServerMechanism
Throws:
SaslException

engineUnwrap

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

engineWrap

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

getNegotiatedQOP

protected String getNegotiatedQOP()
Overrides:
getNegotiatedQOP in class ServerMechanism

getNegotiatedStrength

protected String getNegotiatedStrength()
Overrides:
getNegotiatedStrength in class ServerMechanism

getNegotiatedRawSendSize

protected String getNegotiatedRawSendSize()
Overrides:
getNegotiatedRawSendSize in class ServerMechanism

getReuse

protected String getReuse()
Overrides:
getReuse in class ServerMechanism

For the latest news and information visit
The GNU Crypto project

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