Class AlgorithmParameterGeneratorSpi
java.lang.Object
java.security.AlgorithmParameterGeneratorSpi
org.bouncycastle.jcajce.provider.asymmetric.util.BaseAlgorithmParameterGeneratorSpi
org.bouncycastle.jcajce.provider.asymmetric.elgamal.AlgorithmParameterGeneratorSpi
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AlgorithmParameters
protected void
engineInit
(int strength, SecureRandom random) protected void
engineInit
(AlgorithmParameterSpec genParamSpec, SecureRandom random) Methods inherited from class org.bouncycastle.jcajce.provider.asymmetric.util.BaseAlgorithmParameterGeneratorSpi
createParametersInstance
-
Field Details
-
random
-
strength
protected int strength
-
-
Constructor Details
-
AlgorithmParameterGeneratorSpi
public AlgorithmParameterGeneratorSpi()
-
-
Method Details
-
engineInit
- Specified by:
engineInit
in classAlgorithmParameterGeneratorSpi
-
engineInit
protected void engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random) throws InvalidAlgorithmParameterException - Specified by:
engineInit
in classAlgorithmParameterGeneratorSpi
- Throws:
InvalidAlgorithmParameterException
-
engineGenerateParameters
- Specified by:
engineGenerateParameters
in classAlgorithmParameterGeneratorSpi
-