public class DHGenParameterSpec extends Object implements AlgorithmParameterSpec
| Constructor and Description |
|---|
DHGenParameterSpec(int primeSize,
int exponentSize)
Creates a new
DHGenParameterSpec instance with the specified
parameters. |
| Modifier and Type | Method and Description |
|---|---|
int |
getExponentSize()
Returns the size of the random exponent in bits.
|
int |
getPrimeSize()
Returns the size of the prime modulus in bits.
|