gnu.crypto.key
Interface IKeyPairGenerator
- DSSKeyPairGenerator, GnuDHKeyPairGenerator, RSAKeyPairGenerator, SRPKeyPairGenerator
public interface IKeyPairGenerator
The visible methods of every asymmetric keypair generator.
KeyPair | generate() - Generates a new keypair based on the attributes used to configure the
instance.
|
String | name() - Returns the canonical name of this keypair generator.
|
void | setup(Map attributes) - [Re]-initialises this instance for use with a given set of attributes.
|
generate
public KeyPair generate()
Generates a new keypair based on the attributes used to configure the
instance.
name
public String name()
Returns the canonical name of this keypair generator.
- the canonical name of this instance.
setup
public void setup(Map attributes)
[Re]-initialises this instance for use with a given set of attributes.
attributes
- a map of name/value pairs to use for setting up the
instance.
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.