class DHParametersHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.math.BigInteger |
ONE |
private static java.math.BigInteger |
TWO |
Constructor and Description |
---|
DHParametersHelper() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.math.BigInteger[] |
generateSafePrimes(int size,
int certainty,
java.security.SecureRandom random) |
(package private) static java.math.BigInteger |
selectGenerator(java.math.BigInteger p,
java.math.BigInteger q,
java.security.SecureRandom random) |