java.lang.Object | |
↳ | javax.crypto.KeyGeneratorSpi |
The Service Provider Interface (SPI) definition for the
KeyGenerator
class.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
KeyGeneratorSpi instance.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Generates a secret key.
| |||||||||||
Initializes this
KeyGenerator instance for the specified key
size (in bits) using the specified randomness source.
| |||||||||||
Initializes this
KeyGenerator with the specified randomness
source.
| |||||||||||
Initializes this
KeyGeneratorSpi instance with the specified
algorithm parameters and randomness source.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Generates a secret key.
Initializes this KeyGenerator
instance for the specified key
size (in bits) using the specified randomness source.
keysize | the size of the key (in bits). |
---|---|
random | the randomness source for any random bytes. |
Initializes this KeyGenerator
with the specified randomness
source.
random | the randomness source for any random bytes. |
---|
Initializes this KeyGeneratorSpi
instance with the specified
algorithm parameters and randomness source.
params | the parameters for the key generation algorithm. |
---|---|
random | the randomness source for any random bytes. |
InvalidAlgorithmParameterException | if the parameters cannot be uses to initialize this key generator algorithm. |
---|