gnu.crypto.key.srp6
Class SRP6TLSServer
java.lang.Object
gnu.crypto.key.BaseKeyAgreementParty
gnu.crypto.key.srp6.SRP6KeyAgreement
gnu.crypto.key.srp6.SRP6TLSServer
- All Implemented Interfaces:
- IKeyAgreementParty
- Direct Known Subclasses:
- SRP6SaslServer
public class SRP6TLSServer
- extends SRP6KeyAgreement
A variation of the SRP6 key agreement protocol, for the server-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.3 $
Fields inherited from class gnu.crypto.key.srp6.SRP6KeyAgreement |
g, GENERATOR, HASH_FUNCTION, HOST_PASSWORD_DB, K, N, SHARED_MODULUS, SOURCE_OF_RANDOMNESS, srp, THREE, USER_IDENTITY, USER_PASSWORD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SRP6TLSServer
public SRP6TLSServer()
engineInit
protected void engineInit(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
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.