org.gudy.bouncycastle.crypto.generators
Class DHParametersGenerator
java.lang.Object
org.gudy.bouncycastle.crypto.generators.DHParametersGenerator
public class DHParametersGenerator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHParametersGenerator
public DHParametersGenerator()
init
public void init(int size,
int certainty,
SecureRandom random)
generateParameters
public DHParameters generateParameters()
- which generates the p and g values from the given parameters,
returning the DHParameters object.
Note: can take a while...