| Modifier and Type | Field and Description |
|---|---|
| private final BigInteger | |
| private final int | |
| private final BigInteger | |
| private final DHValidationParameters |
| Access | Constructor and Description |
|---|---|
| public | DHDomainParameterSpec(DHDomainParameters
the Diffie-Hellman domain parameters to wrap. domainParameters)Base constructor - use the values in an existing set of domain parameters. |
| public | DHDomainParameterSpec(BigInteger
the prime p defining the Galois field. p, BigInteger specifies the prime factor of p - 1 q, BigInteger the generator of the multiplicative subgroup of order g. g)Minimal constructor for parameters able to be used to verify a public key, or use with MQV. |
| public | DHDomainParameterSpec(BigInteger
the prime p defining the Galois field. p, BigInteger specifies the prime factor of p - 1 q, BigInteger the generator of the multiplicative subgroup of order g. g, int the maximum bit length for the private value. l)Minimal constructor for parameters able to be used to verify a public key, or use with MQV, and a private value length. |
| public | DHDomainParameterSpec(BigInteger
the prime p defining the Galois field. p, BigInteger specifies the prime factor of p - 1 q, BigInteger the generator of the multiplicative subgroup of order g. g, BigInteger optionally specifies the value that satisfies the equation p = jq+1 j, int the maximum bit length for the private value. l, DHValidationParameters parameters for validating these domain parameters. validationParameters)X9.42 parameters with private value length. |
| public | DHDomainParameterSpec(BigInteger
the prime p defining the Galois field. p, BigInteger specifies the prime factor of p - 1 q, BigInteger the generator of the multiplicative subgroup of order g. g, BigInteger optionally specifies the value that satisfies the equation p = jq+1 j, int the minimum bit length for the private value. m, int the maximum bit length for the private value. l, DHValidationParameters parameters for validating these domain parameters. validationParameters)Base constructor - the full domain parameter set. |
| Modifier and Type | Method and Description |
|---|---|
| public DHDomainParameters | Returns: the internal DHDomainParameters.Return the DHDomainParameters object we represent. |
| public BigInteger | Returns: the value J, null otherwise.Return the J value for the domain parameter set if available. |
| public int | Returns: minimum bitlength for private value.Return the minimum bitlength for a private value to be generated from these parameters, 0 if not set. |
| public BigInteger | |
| public DHValidationParameters | Returns: the Diffie-Hellman validation parameters.Return the validation parameters for the domain parameter set. |
| j | back to summary |
|---|---|
| private final BigInteger j | |
| m | back to summary |
|---|---|
| private final int m | |
| q | back to summary |
|---|---|
| private final BigInteger q | |
| validationParameters | back to summary |
|---|---|
| private final DHValidationParameters validationParameters | |
| DHDomainParameterSpec | back to summary |
|---|---|
| public DHDomainParameterSpec(DHDomainParameters domainParameters) Base constructor - use the values in an existing set of domain parameters.
| |
| DHDomainParameterSpec | back to summary |
|---|---|
| public DHDomainParameterSpec(BigInteger p, BigInteger q, BigInteger g) Minimal constructor for parameters able to be used to verify a public key, or use with MQV.
| |
| DHDomainParameterSpec | back to summary |
|---|---|
| public DHDomainParameterSpec(BigInteger p, BigInteger q, BigInteger g, int l) Minimal constructor for parameters able to be used to verify a public key, or use with MQV, and a private value length.
| |
| DHDomainParameterSpec | back to summary |
|---|---|
| public DHDomainParameterSpec(BigInteger p, BigInteger q, BigInteger g, BigInteger j, int l, DHValidationParameters validationParameters) X9.42 parameters with private value length.
| |
| DHDomainParameterSpec | back to summary |
|---|---|
| public DHDomainParameterSpec(BigInteger p, BigInteger q, BigInteger g, BigInteger j, int m, int l, DHValidationParameters validationParameters) Base constructor - the full domain parameter set.
| |
| getDomainParameters | back to summary |
|---|---|
| public DHDomainParameters getDomainParameters() Return the DHDomainParameters object we represent.
| |
| getJ | back to summary |
|---|---|
| public BigInteger getJ() Return the J value for the domain parameter set if available.
| |
| getM | back to summary |
|---|---|
| public int getM() Return the minimum bitlength for a private value to be generated from these parameters, 0 if not set.
| |
| getQ | back to summary |
|---|---|
| public BigInteger getQ() Return the Q value for the domain parameter set.
| |
| getValidationParameters | back to summary |
|---|---|
| public DHValidationParameters getValidationParameters() Return the validation parameters for the domain parameter set.
| |