gnu.crypto.key
Class KeyAgreementFactory
public class KeyAgreementFactory
A Factory class to generate key agreement protocol handlers.
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
A in a two-party A..B exchange, given the
canonical name of this protocol.
|
static IKeyAgreementParty | getPartyBInstance(String name)- 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.
|
getNames
public static final Set getNames()
Returns a Set of key agreement protocol names supported by this
Factory.
- a
Set of key agreement protocol names (Strings).
getPartyAInstance
public static IKeyAgreementParty getPartyAInstance(String name)
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.
name - the case-insensitive key agreement protocol name.
- an instance of the key agreement protocol handler for party
A, or null if none found.
getPartyBInstance
public static IKeyAgreementParty getPartyBInstance(String name)
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.
name - the case-insensitive key agreement protocol name.
- an instance of the key agreement protocol handler for party
B, or null if none found.
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.