Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.crypto.key
Class KeyAgreementFactory  view KeyAgreementFactory download KeyAgreementFactory.java

java.lang.Object
  extended bygnu.javax.crypto.key.KeyAgreementFactory

public class KeyAgreementFactory
extends java.lang.Object

A Factory class to generate key agreement protocol handlers.


Constructor Summary
private KeyAgreementFactory()
          Trivial constructor to enforce Singleton pattern.
 
Method Summary
static java.util.Set getNames()
          Returns a java.util.Set of key agreement protocol names supported by this Factory.
static IKeyAgreementParty getPartyAInstance(java.lang.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(java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyAgreementFactory

private KeyAgreementFactory()
Trivial constructor to enforce Singleton pattern.

Method Detail

getPartyAInstance

public static IKeyAgreementParty getPartyAInstance(java.lang.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.


getPartyBInstance

public static IKeyAgreementParty getPartyBInstance(java.lang.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 java.util.Set getNames()

Returns a java.util.Set of key agreement protocol names supported by this Factory.