Constructors
Name | Description |
---|---|
KeyPairGenerator(String) | Creates a KeyPairGenerator object for the specified algorithm. |
Methods
Name | Description |
---|---|
generateKeyPair() | Generates a key pair. |
getAlgorithm() | Returns the standard name of the algorithm for this key generator. |
getInstance(String) | Generates a KeyPairGenerator object that implements the algorithm requested, as available in the environment. |
getInstance(String, String) | Generates a KeyPairGenerator object implementing the specified algorithm, as supplied from the specified provider, if such an algorithm is available from the provider. |
initialize(int) | Initializes the key pair generator for a certain strength using a system-provided source of randomness. |
initialize(int, SecureRandom) | Initializes the key pair generator for a certain strength. |