Class ElGamalParametersGenerator
- java.lang.Object
-
- org.bouncycastle.crypto.generators.ElGamalParametersGenerator
-
public class ElGamalParametersGenerator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ElGamalParametersGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElGamalParameters
generateParameters()
which generates the p and g values from the given parameters, returning the ElGamalParameters object.void
init(int size, int certainty, java.security.SecureRandom random)
-
-
-
Method Detail
-
init
public void init(int size, int certainty, java.security.SecureRandom random)
-
generateParameters
public ElGamalParameters 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.
-
-