gnu.crypto.key
public class KeyAgreementFactory extends Object
A Factory class to generate key agreement protocol handlers.
Version: $Revision: 1.3 $
Method Summary | |
---|---|
static Set | getNames() Returns a Set of key agreement protocol names supported by this Factory. |
static IKeyAgreementParty | getPartyAInstance(String name) Returns an instance of a key agreeent protocol handler, for party
|
static IKeyAgreementParty | getPartyBInstance(String name) Returns an instance of a key agreeent protocol handler, for party
|
Returns a Set of key agreement protocol names supported by this Factory.
Returns: a Set of key agreement protocol names (Strings).
Returns an instance of a key agreeent protocol handler, for party
A
in a two-party A..B
exchange, given the
canonical name of this protocol. Party A
is usually the
initiator of the exchange.
Parameters: name the case-insensitive key agreement protocol name.
Returns: an instance of the key agreement protocol handler for party
A
, or null
if none found.
Returns an instance of a key agreeent protocol handler, for party
B
in a two-party A..B
exchange, given the
canonical name of this protocol.
Parameters: name the case-insensitive key agreement protocol name.
Returns: an instance of the key agreement protocol handler for party
B
, or null
if none found.