Class AlgorithmParameterGeneratorSpi
- java.lang.Object
-
- java.security.AlgorithmParameterGeneratorSpi
-
- org.bouncycastle.jcajce.provider.asymmetric.util.BaseAlgorithmParameterGeneratorSpi
-
- org.bouncycastle.jcajce.provider.asymmetric.elgamal.AlgorithmParameterGeneratorSpi
-
public class AlgorithmParameterGeneratorSpi extends BaseAlgorithmParameterGeneratorSpi
-
-
Field Summary
Fields Modifier and Type Field Description protected 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 AlgorithmParameters
engineGenerateParameters()
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 Detail
-
random
protected SecureRandom random
-
strength
protected int strength
-
-
Method Detail
-
engineInit
protected void engineInit(int strength, SecureRandom random)
- Specified by:
engineInit
in classAlgorithmParameterGeneratorSpi
-
engineInit
protected void engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random) throws InvalidAlgorithmParameterException
- Specified by:
engineInit
in classAlgorithmParameterGeneratorSpi
- Throws:
InvalidAlgorithmParameterException
-
engineGenerateParameters
protected AlgorithmParameters engineGenerateParameters()
- Specified by:
engineGenerateParameters
in classAlgorithmParameterGeneratorSpi
-
-