gnu.crypto.key
Class KeyPairGeneratorFactory
public class KeyPairGeneratorFactory
A Factory to instantiate asymmetric keypair generators.
static IKeyPairGenerator | getInstance(String name) - Returns an instance of a keypair generator given its name.
|
static Set | getNames() - Returns a
Set of keypair generator names supported by this
Factory.
|
getInstance
public static IKeyPairGenerator getInstance(String name)
Returns an instance of a keypair generator given its name.
name
- the case-insensitive key generator name.
- an instance of the keypair generator, or
null
if none
found.
getNames
public static final Set getNames()
Returns a 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.
- a
Set
of keypair generator names (Strings).
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.