public abstract class BaseAlgorithmParameterGenerator
extends java.security.AlgorithmParameterGeneratorSpi
Modifier and Type | Field and Description |
---|---|
protected java.security.SecureRandom |
random |
protected int |
strength |
Constructor and Description |
---|
BaseAlgorithmParameterGenerator() |
Modifier and Type | Method and Description |
---|---|
protected java.security.AlgorithmParameters |
createParametersInstance(java.lang.String algorithm) |
protected void |
engineInit(int strength,
java.security.SecureRandom random) |
protected final java.security.AlgorithmParameters createParametersInstance(java.lang.String algorithm) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
java.security.NoSuchAlgorithmException
java.security.NoSuchProviderException
protected void engineInit(int strength, java.security.SecureRandom random)
engineInit
in class java.security.AlgorithmParameterGeneratorSpi