For the latest news and information visit
The GNU Crypto project

gnu.crypto.key.dh
Class ElGamalReceiver

java.lang.Object
  extended bygnu.crypto.key.BaseKeyAgreementParty
      extended bygnu.crypto.key.dh.ElGamalKeyAgreement
          extended bygnu.crypto.key.dh.ElGamalReceiver
All Implemented Interfaces:
IKeyAgreementParty

public class ElGamalReceiver
extends ElGamalKeyAgreement

This implementation is the receiver's part of the ElGamal key agreement exchange (B in [HAC]).

Version:
$Revision: 1.2 $
See Also:
ElGamalKeyAgreement

Field Summary
 
Fields inherited from class gnu.crypto.key.dh.ElGamalKeyAgreement
KA_ELGAMAL_RECIPIENT_PRIVATE_KEY, KA_ELGAMAL_RECIPIENT_PUBLIC_KEY, SOURCE_OF_RANDOMNESS, ZZ
 
Fields inherited from class gnu.crypto.key.BaseKeyAgreementParty
complete, initialised, name, rnd, step, TWO
 
Constructor Summary
ElGamalReceiver()
           
 
Method Summary
protected  void engineInit(java.util.Map attributes)
           
protected  OutgoingMessage engineProcessMessage(IncomingMessage in)
           
 
Methods inherited from class gnu.crypto.key.dh.ElGamalKeyAgreement
engineReset, engineSharedSecret
 
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

ElGamalReceiver

public ElGamalReceiver()
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

For the latest news and information visit
The GNU Crypto project

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