| java.lang.Object | ||
| ↳ | java.security.AlgorithmParameterGeneratorSpi | |
| ↳ | com.sun.crypto.provider.DHParameterGenerator | |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Generates the parameters.
| |||||||||||
Initializes this parameter generator for a certain keysize
and source of randomness.
| |||||||||||
Initializes this parameter generator with a set of parameter
generation values, which specify the size of the prime modulus and
the size of the random exponent, both in bits.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.security.AlgorithmParameterGeneratorSpi
| |||||||||||
From class
java.lang.Object
| |||||||||||
Generates the parameters.
Initializes this parameter generator for a certain keysize and source of randomness. The keysize is specified as the size in bits of the prime modulus.
| keysize | the keysize (size of prime modulus) in bits |
|---|---|
| random | the source of randomness |
Initializes this parameter generator with a set of parameter generation values, which specify the size of the prime modulus and the size of the random exponent, both in bits.
| genParamSpec | the set of algorithm-specific parameter generation values. |
|---|---|
| random | the source of randomness |
| InvalidAlgorithmParameterException | if the given parameter generation values are inappropriate for this parameter generator |
|---|