| java.lang.Object org.bouncycastle.crypto.generators.DHParametersGenerator
DHParametersGenerator | public class DHParametersGenerator (Code) | | |
Method Summary | |
public DHParameters | generateParameters() which generates the p and g values from the given parameters,
returning the DHParameters object. | public void | init(int size, int certainty, SecureRandom random) Initialise the parameters generator. |
generateParameters | public DHParameters generateParameters()(Code) | | which generates the p and g values from the given parameters,
returning the DHParameters object.
Note: can take a while...
|
init | public void init(int size, int certainty, SecureRandom random)(Code) | | Initialise the parameters generator.
Parameters: size - bit length for the prime p Parameters: certainty - level of certainty for the prime number tests Parameters: random - a source of randomness |
|
|