| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private SecureRandom |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| protected AlgorithmParameters | Returns: the new AlgorithmParameters objectImplements abstract java. Generates the parameters. |
| protected void | engineInit(int
the keysize (size of prime modulus) in bits keysize, SecureRandom the source of randomness random)Implements abstract java. Initializes this parameter generator for a certain keysize and source of randomness. |
| protected void | engineInit(AlgorithmParameterSpec
the set of parameter generation values genParamSpec, SecureRandom the source of randomness random)Implements abstract java. 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. |
| exponentSize | back to summary |
|---|---|
| private int exponentSize | |
| primeSize | back to summary |
|---|---|
| private int primeSize | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| DHParameterGenerator | back to summary |
|---|---|
| public DHParameterGenerator() | |
| checkSupport | back to summary |
|---|---|
| private static void checkSupport(int keysize, int exponentSize) throws InvalidParameterException | |
| engineGenerateParameters | back to summary |
|---|---|
| protected AlgorithmParameters engineGenerateParameters() Implements abstract java. Generates the parameters.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(int keysize, SecureRandom random) Implements abstract java. 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.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random) throws InvalidAlgorithmParameterException Implements abstract java. 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.
| |