org.bouncycastle.crypto.generators
Class ElGamalParametersGenerator
java.lang.Object
  
org.bouncycastle.crypto.generators.ElGamalParametersGenerator
public class ElGamalParametersGenerator
- extends Object
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ElGamalParametersGenerator
public ElGamalParametersGenerator()
init
public void init(int size,
                 int certainty,
                 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...