For the latest news and information visit
The GNU Crypto project

gnu.crypto.key.dh
Class ElGamalSender

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

public class ElGamalSender
extends ElGamalKeyAgreement

This implementation is the sender's part of the ElGamal key agreement exchange (A 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
ElGamalSender()
           
 
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

ElGamalSender

public ElGamalSender()
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.