| java.lang.Object | |
| ↳ | java.security.KeyPairGeneratorSpi |
Known Direct Subclasses
|
KeyPairGeneratorSpi is the Service Provider Interface (SPI)
definition for KeyPairGenerator.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of
KeyPairGeneratorSpi.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Computes and returns a new unique
KeyPair each time this method
is called.
| |||||||||||
Initializes this
KeyPairGeneratorSpi with the given AlgorithmParameterSpec and the given SecureRandom.
| |||||||||||
Initializes this
KeyPairGeneratorSpi with the given key size and
the given SecureRandom.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructs a new instance of KeyPairGeneratorSpi.
Computes and returns a new unique KeyPair each time this method
is called.
KeyPair each time this method is called.
Initializes this KeyPairGeneratorSpi with the given AlgorithmParameterSpec and the given SecureRandom.
| params | the parameters to use. |
|---|---|
| random | the source of randomness. |
| InvalidAlgorithmParameterException | if the specified parameters are not supported. |
|---|
Initializes this KeyPairGeneratorSpi with the given key size and
the given SecureRandom. The default parameter set will be used.
| keysize | the key size (number of bits). |
|---|---|
| random | the source of randomness. |