Class AlgorithmParameterGeneratorSpi
- java.lang.Object
-
- java.security.AlgorithmParameterGeneratorSpi
-
- org.bouncycastle.jcajce.provider.asymmetric.util.BaseAlgorithmParameterGeneratorSpi
-
- org.bouncycastle.jcajce.provider.asymmetric.dsa.AlgorithmParameterGeneratorSpi
-
public class AlgorithmParameterGeneratorSpi extends BaseAlgorithmParameterGeneratorSpi
-
-
Field Summary
Fields Modifier and Type Field Description protected DSAParameterGenerationParameters
params
protected java.security.SecureRandom
random
protected int
strength
-
Constructor Summary
Constructors Constructor Description AlgorithmParameterGeneratorSpi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.security.AlgorithmParameters
engineGenerateParameters()
protected void
engineInit(int strength, java.security.SecureRandom random)
protected void
engineInit(java.security.spec.AlgorithmParameterSpec genParamSpec, java.security.SecureRandom random)
-
Methods inherited from class org.bouncycastle.jcajce.provider.asymmetric.util.BaseAlgorithmParameterGeneratorSpi
createParametersInstance
-
-
-
-
Field Detail
-
random
protected java.security.SecureRandom random
-
strength
protected int strength
-
params
protected DSAParameterGenerationParameters params
-
-
Method Detail
-
engineInit
protected void engineInit(int strength, java.security.SecureRandom random)
- Specified by:
engineInit
in classjava.security.AlgorithmParameterGeneratorSpi
-
engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec genParamSpec, java.security.SecureRandom random) throws java.security.InvalidAlgorithmParameterException
- Specified by:
engineInit
in classjava.security.AlgorithmParameterGeneratorSpi
- Throws:
java.security.InvalidAlgorithmParameterException
-
engineGenerateParameters
protected java.security.AlgorithmParameters engineGenerateParameters()
- Specified by:
engineGenerateParameters
in classjava.security.AlgorithmParameterGeneratorSpi
-
-