public static class DESede.KeyGenerator extends BaseKeyGenerator
algName, defaultKeySize, engine, keySize, uninitialised| Constructor and Description |
|---|
KeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected SecretKey |
engineGenerateKey()
Generates a secret key.
|
protected void |
engineInit(int keySize,
SecureRandom random)
Initializes this
KeyGenerator instance for the specified key
size (in bits) using the specified randomness source. |
engineInit, engineInitprotected void engineInit(int keySize,
SecureRandom random)
KeyGeneratorSpiKeyGenerator instance for the specified key
size (in bits) using the specified randomness source.engineInit in class BaseKeyGeneratorkeySize - the size of the key (in bits).random - the randomness source for any random bytes.protected SecretKey engineGenerateKey()
KeyGeneratorSpiengineGenerateKey in class BaseKeyGenerator