| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final BigInteger | |
| private final BigInteger | |
| private final int | |
| private final int | |
| private final BigInteger | |
| private final BigInteger | |
| private final DHValidationParameters |
| Access | Constructor and Description |
|---|---|
| public | DHDomainParameters(BigInteger
the prime p defining the Galois field. p, BigInteger the generator of the multiplicative subgroup of order g. g)Minimal usable parameters. |
| public | DHDomainParameters(BigInteger
the prime p defining the Galois field. p, BigInteger the generator of the multiplicative subgroup of order g. g, int the maximum bit length for the private value. l)Minimal usable parameters with a private value length (PKCS#3). |
| public | DHDomainParameters(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. |
| public | DHDomainParameters(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 with a private value length. |
| public | DHDomainParameters(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 minimum bit length for the private value. m, int the maximum bit length for the private value. l)Parameters which can verify a public key with private value lengths. |
| public | DHDomainParameters(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, DHValidationParameters parameters for validating these domain parameters. validation)Standard constructor - the full X9.42 parameter set. |
| public | DHDomainParameters(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, DHValidationParameters parameters for validating these domain parameters. validation)X9.42 parameters with private value length. |
| public | DHDomainParameters(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 minimum bit length for the private value. m, int the maximum bit length for the private value. l, BigInteger optionally specifies the value that satisfies the equation p = jq+1 j, DHValidationParameters parameters for validating these domain parameters. validation)Base constructor - the full domain parameter set. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| private static int | |
| public BigInteger | |
| public BigInteger | Returns: subgroup factor, or null.Return the subgroup factor J, which satisifes the equation p=jq+1, if present. |
| public int | Returns: the private value length in bits, zero otherwise.Return the private value length in bits - if set, zero otherwise |
| public int | Returns: the minimum length of the private value in bits.Return the minimum length of the private value. |
| public BigInteger | |
| public BigInteger | |
| public DHValidationParameters | |
| public int |
| DEFAULT_MINIMUM_LENGTH | back to summary |
|---|---|
| private static final int DEFAULT_MINIMUM_LENGTH | |
| g | back to summary |
|---|---|
| private final BigInteger g | |
| j | back to summary |
|---|---|
| private final BigInteger j | |
| l | back to summary |
|---|---|
| private final int l | |
| m | back to summary |
|---|---|
| private final int m | |
| p | back to summary |
|---|---|
| private final BigInteger p | |
| q | back to summary |
|---|---|
| private final BigInteger q | |
| validation | back to summary |
|---|---|
| private final DHValidationParameters validation | |
| DHDomainParameters | back to summary |
|---|---|
| public DHDomainParameters(BigInteger p, BigInteger g) Minimal usable parameters.
| |
| DHDomainParameters | back to summary |
|---|---|
| public DHDomainParameters(BigInteger p, BigInteger g, int l) Minimal usable parameters with a private value length (PKCS#3).
| |
| DHDomainParameters | back to summary |
|---|---|
| public DHDomainParameters(BigInteger p, BigInteger q, BigInteger g) Minimal constructor for parameters able to be used to verify a public key.
| |
| DHDomainParameters | back to summary |
|---|---|
| public DHDomainParameters(BigInteger p, BigInteger q, BigInteger g, int l) Minimal constructor for parameters able to be used to verify a public key with a private value length.
| |
| DHDomainParameters | back to summary |
|---|---|
| public DHDomainParameters(BigInteger p, BigInteger q, BigInteger g, int m, int l) Parameters which can verify a public key with private value lengths.
| |
| DHDomainParameters | back to summary |
|---|---|
| public DHDomainParameters(BigInteger p, BigInteger q, BigInteger g, BigInteger j, DHValidationParameters validation) Standard constructor - the full X9.42 parameter set.
| |
| DHDomainParameters | back to summary |
|---|---|
| public DHDomainParameters(BigInteger p, BigInteger q, BigInteger g, int l, DHValidationParameters validation) X9.42 parameters with private value length.
| |
| DHDomainParameters | back to summary |
|---|---|
| public DHDomainParameters(BigInteger p, BigInteger q, BigInteger g, int m, int l, BigInteger j, DHValidationParameters validation) Base constructor - the full domain parameter set.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getDefaultMParam | back to summary |
|---|---|
| private static int getDefaultMParam(int lParam) | |
| getG | back to summary |
|---|---|
| public BigInteger getG() Return the generator of the multiplicative subgroup of order g.
| |
| getJ | back to summary |
|---|---|
| public BigInteger getJ() Return the subgroup factor J, which satisifes the equation p=jq+1, if present.
| |
| getL | back to summary |
|---|---|
| public int getL() Return the private value length in bits - if set, zero otherwise
| |
| getM | back to summary |
|---|---|
| public int getM() Return the minimum length of the private value.
| |
| getP | back to summary |
|---|---|
| public BigInteger getP() Return the prime p defining the Galois field.
| |
| getQ | back to summary |
|---|---|
| public BigInteger getQ() Return q, the prime factor of p - 1
| |
| getValidationParameters | back to summary |
|---|---|
| public DHValidationParameters getValidationParameters() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |