Class ElGamalParametersGenerator
java.lang.Object
org.bouncycastle.crypto.generators.ElGamalParametersGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionwhich generates the p and g values from the given parameters, returning the ElGamalParameters object.void
init
(int size, int certainty, SecureRandom random)
-
Constructor Details
-
ElGamalParametersGenerator
public ElGamalParametersGenerator()
-
-
Method Details
-
init
-
generateParameters
which generates the p and g values from the given parameters, returning the ElGamalParameters object.Note: can take a while...
- Returns:
- a generated ElGamal parameters object.
-