gnu.crypto.key
public interface IKeyPairGenerator
Version: $Revision: 1.2 $
Method Summary | |
---|---|
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.
|
Returns: a new keypair.
Returns: the canonical name of this instance.
Parameters: attributes a map of name/value pairs to use for setting up the instance.
Throws: IllegalArgumentException if at least one of the mandatory attributes is missing or an invalid value was specified.