java.lang.Object | ||
↳ | javax.crypto.KeyGeneratorSpi | |
↳ | com.sun.crypto.provider.DESKeyGenerator |
This class generates a DES key.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Verify the SunJCE provider in the constructor.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Generates the DES key.
| |||||||||||
Initializes this key generator for a certain keysize, using the given
source of randomness.
| |||||||||||
Initializes this key generator.
| |||||||||||
Initializes this key generator with the specified parameter
set and a user-provided source of randomness.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Verify the SunJCE provider in the constructor.
SecurityException | if fails to verify its own integrity |
---|
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 this key generator.
random | the source of randomness for this generator |
---|
Initializes this 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 |
InvalidAlgorithmParameterException | if params is
inappropriate for this key generator
|
---|