Next: , Previous: The IKeyAgreementParty Interface, Up: Key Agreements


8.10 The KeyAgreementFactory class

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

— Function: gnu.crypto.key.IKeyAgreementParty getPartyAInstance (java.lang.String name)

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.

— Function: gnu.crypto.key.IKeyAgreementParty getPartyBInstance (java.lang.String name)

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.

— Function: java.util.Set getNames ()

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