For the latest news and information visit
The GNU Crypto project

gnu.crypto.key.srp6
Class SRP6TLSClient

java.lang.Object
  extended bygnu.crypto.key.BaseKeyAgreementParty
      extended bygnu.crypto.key.srp6.SRP6KeyAgreement
          extended bygnu.crypto.key.srp6.SRP6TLSClient
All Implemented Interfaces:
IKeyAgreementParty
Direct Known Subclasses:
SRP6SaslClient

public class SRP6TLSClient
extends SRP6KeyAgreement

A variation of the SRP6 key agreement protocol, for the client-side as proposed in Using SRP for TLS Authentication. The only difference between it and the SASL variant is that the shared secret is the entity S and not H(S).

Version:
$Revision: 1.2 $

Field Summary
 
Fields inherited from class gnu.crypto.key.srp6.SRP6KeyAgreement
g, GENERATOR, HASH_FUNCTION, HOST_PASSWORD_DB, K, mda, N, SHARED_MODULUS, SOURCE_OF_RANDOMNESS, THREE, USER_IDENTITY, USER_PASSWORD
 
Fields inherited from class gnu.crypto.key.BaseKeyAgreementParty
complete, initialised, name, rnd, step, TWO
 
Constructor Summary
SRP6TLSClient()
           
 
Method Summary
protected  OutgoingMessage computeSharedSecret(IncomingMessage in)
           
protected  void engineInit(java.util.Map attributes)
           
protected  OutgoingMessage engineProcessMessage(IncomingMessage in)
           
protected  void engineReset()
           
 
Methods inherited from class gnu.crypto.key.srp6.SRP6KeyAgreement
engineSharedSecret, uValue
 
Methods inherited from class gnu.crypto.key.BaseKeyAgreementParty
getSharedSecret, init, isComplete, name, nextRandomBytes, processMessage, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SRP6TLSClient

public SRP6TLSClient()
Method Detail

engineInit

protected void engineInit(java.util.Map attributes)
                   throws KeyAgreementException
Specified by:
engineInit in class BaseKeyAgreementParty
Throws:
KeyAgreementException

engineProcessMessage

protected OutgoingMessage engineProcessMessage(IncomingMessage in)
                                        throws KeyAgreementException
Specified by:
engineProcessMessage in class BaseKeyAgreementParty
Throws:
KeyAgreementException

engineReset

protected void engineReset()
Overrides:
engineReset in class SRP6KeyAgreement

computeSharedSecret

protected OutgoingMessage computeSharedSecret(IncomingMessage in)
                                       throws KeyAgreementException
Throws:
KeyAgreementException

For the latest news and information visit
The GNU Crypto project

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