java.lang.Object | ||
↳ | javax.crypto.KeyGeneratorSpi | |
↳ | sun.security.pkcs11.P11TlsKeyMaterialGenerator |
KeyGenerator to calculate the SSL/TLS key material (cipher keys and ivs, mac keys) from the master secret.
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 |