Node:The KeyAgreementFactory class, Next:, Previous:The IKeyAgreementParty Interface, Up:Key Agreements



The KeyAgreementFactory class

Instances for two-party key agreement protocols can be instantiated with the Factory methods of this class:

gnu.crypto.key.IKeyAgreementParty getPartyAInstance (java.lang.String name) Function
Creates an instance of an initiator of a key agreement protocol given the name of this protocol. A null if there is no such protocol implementation.

gnu.crypto.key.IKeyAgreementParty getPartyBInstance (java.lang.String name) Function
Creates an instance of a recipient of a key agreement protocol given the name of this protocol. A null if there is no such protocol implementation.

java.util.Set getNames () Function
Returns a set of the names (java.lang.String) of all available key agreement protocols.