public abstract class BaseAlgorithmParameterGenerator extends AlgorithmParameterGeneratorSpi
| Modifier and Type | Field and Description |
|---|---|
protected SecureRandom |
random |
protected int |
strength |
| Constructor and Description |
|---|
BaseAlgorithmParameterGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected AlgorithmParameters |
createParametersInstance(String algorithm) |
protected void |
engineInit(int strength,
SecureRandom random)
Initializes this
AlgorithmParameterGeneratorSpi with the given
size and the given SecureRandom. |
engineGenerateParameters, engineInitprotected SecureRandom random
protected int strength
protected final AlgorithmParameters createParametersInstance(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
protected void engineInit(int strength,
SecureRandom random)
AlgorithmParameterGeneratorSpiAlgorithmParameterGeneratorSpi with the given
size and the given SecureRandom. The default parameter set
will be used.engineInit in class AlgorithmParameterGeneratorSpistrength - the size (in number of bits).random - the source of randomness.