public class BaseKeyGenerator extends KeyGeneratorSpi
| Modifier and Type | Field and Description |
|---|---|
protected String |
algName |
protected int |
defaultKeySize |
protected CipherKeyGenerator |
engine |
protected int |
keySize |
protected boolean |
uninitialised |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseKeyGenerator(String algName,
int defaultKeySize,
CipherKeyGenerator engine) |
| Modifier and Type | Method and Description |
|---|---|
protected SecretKey |
engineGenerateKey() |
protected void |
engineInit(AlgorithmParameterSpec params,
SecureRandom random) |
protected void |
engineInit(int keySize,
SecureRandom random) |
protected void |
engineInit(SecureRandom random) |
protected String algName
protected int keySize
protected int defaultKeySize
protected CipherKeyGenerator engine
protected boolean uninitialised
protected BaseKeyGenerator(String algName, int defaultKeySize, CipherKeyGenerator engine)
protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException
engineInit in class KeyGeneratorSpiInvalidAlgorithmParameterExceptionprotected void engineInit(SecureRandom random)
engineInit in class KeyGeneratorSpiprotected void engineInit(int keySize,
SecureRandom random)
engineInit in class KeyGeneratorSpiprotected SecretKey engineGenerateKey()
engineGenerateKey in class KeyGeneratorSpiCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.