| java.lang.Object | ||
| ↳ | javax.crypto.KeyGeneratorSpi | |
| ↳ | com.sun.crypto.provider.TlsRsaPremasterSecretGenerator | |
KeyGenerator implementation for the SSL/TLS RSA premaster secret.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Generates a secret key.
| |||||||||||
Initializes this key generator for a certain keysize, using the given
source of randomness.
| |||||||||||
Initializes the key generator.
| |||||||||||
Initializes the key generator with the specified parameter
set and a user-provided source of randomness.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.crypto.KeyGeneratorSpi
| |||||||||||
From class
java.lang.Object
| |||||||||||
Initializes this key generator for a certain keysize, using the given source of randomness.
| keysize | the keysize. This is an algorithm-specific metric, specified in number of bits. |
|---|---|
| random | the source of randomness for this key generator |
Initializes the key generator.
| random | the source of randomness for this generator |
|---|
Initializes the key generator with the specified parameter set and a user-provided source of randomness.
| params | the key generation parameters |
|---|---|
| random | the source of randomness for this key generator |