gnu.crypto.key.dh

Class DiffieHellmanReceiver

Implemented Interfaces:
IKeyAgreementParty

public class DiffieHellmanReceiver
extends DiffieHellmanKeyAgreement

This implementation is the receiver's part of the basic version of the Diffie-Hellman key agreement exchange (B in [HAC]).
Version:
$Revision: 1.3 $
See Also:
DiffieHellmanKeyAgreement

Field Summary

Fields inherited from class gnu.crypto.key.dh.DiffieHellmanKeyAgreement

KA_DIFFIE_HELLMAN_OWNER_PRIVATE_KEY, SOURCE_OF_RANDOMNESS, ZZ, ownerKey

Fields inherited from class gnu.crypto.key.BaseKeyAgreementParty

TWO, complete, initialised, irnd, name, rnd, step

Method Summary

protected void
engineInit(Map attributes)
protected OutgoingMessage
engineProcessMessage(IncomingMessage in)

Methods inherited from class gnu.crypto.key.dh.DiffieHellmanKeyAgreement

engineReset, engineSharedSecret

Methods inherited from class gnu.crypto.key.BaseKeyAgreementParty

engineInit, engineProcessMessage, engineReset, engineSharedSecret, getSharedSecret, init, isComplete, name, nextRandomBytes, processMessage, reset

Method Details

engineInit

protected void engineInit(Map attributes)
            throws KeyAgreementException
Overrides:
engineInit in interface BaseKeyAgreementParty

engineProcessMessage

protected OutgoingMessage engineProcessMessage(IncomingMessage in)
            throws KeyAgreementException
Overrides:
engineProcessMessage in interface BaseKeyAgreementParty

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