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

Quick Search    Search Deep

gnu.java.security.key
Class KeyPairGeneratorFactory  view KeyPairGeneratorFactory download KeyPairGeneratorFactory.java

java.lang.Object
  extended bygnu.java.security.key.KeyPairGeneratorFactory

public class KeyPairGeneratorFactory
extends java.lang.Object

A Factory to instantiate asymmetric keypair generators.


Constructor Summary
private KeyPairGeneratorFactory()
          Trivial constructor to enforce Singleton pattern.
 
Method Summary
static IKeyPairGenerator getInstance(java.lang.String name)
          Returns an instance of a keypair generator given its name.
static java.util.Set getNames()
          Returns a java.util.Set of keypair generator names supported by this Factory.
private static IKeyPairGenerator makeInstance(java.lang.String clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyPairGeneratorFactory

private KeyPairGeneratorFactory()
Trivial constructor to enforce Singleton pattern.

Method Detail

getInstance

public static IKeyPairGenerator getInstance(java.lang.String name)

Returns an instance of a keypair generator given its name.


getNames

public static final java.util.Set getNames()

Returns a java.util.Set of keypair generator names supported by this Factory. Those keypair generators may be used in conjunction with the digital signature schemes with appendix supported by this library.


makeInstance

private static IKeyPairGenerator makeInstance(java.lang.String clazz)