DomainParameters ::= SEQUENCE {
p INTEGER, -- odd prime, p=jq +1
g INTEGER, -- generator, g
q INTEGER, -- factor of p-1
j INTEGER OPTIONAL, -- subgroup factor, j >= 2
validationParams ValidationParams OPTIONAL
}
| Modifier and Type | Field and Description |
|---|---|
| private final ASN1Integer | |
| private final ASN1Integer | |
| private final ASN1Integer | |
| private final ASN1Integer | |
| private final ValidationParams |
| Access | Constructor and Description |
|---|---|
| public | DomainParameters(BigInteger
the prime p defining the Galois field. p, BigInteger the generator of the multiplicative subgroup of order g. g, BigInteger specifies the prime factor of p - 1 q, BigInteger optionally specifies the value that satisfies the equation p = jq+1 j, ValidationParams parameters for validating these domain parameters. validationParams)Base constructor - the full domain parameter set. |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public BigInteger | |
| public static DomainParameters | Returns: a DomainParametersa tagged object. obj, boolean true if the contents of the object is explictly tagged, false otherwise. explicit)Return a DomainParameters object from the passed in tagged object. |
| public static DomainParameters | Returns: a DomainParametersan object for conversion or a byte[]. obj)Return a DomainParameters object from the passed in object. |
| public BigInteger | |
| private static ASN1Encodable | |
| public BigInteger | |
| public BigInteger | |
| public ValidationParams | Returns: validation parameters, or null if absent.Return the validation parameters for this set (if present). |
| public ASN1Primitive | Returns: a DERSequence containing the parameter values.Implements abstract org. Implements org. |
| g | back to summary |
|---|---|
| private final ASN1Integer g | |
| j | back to summary |
|---|---|
| private final ASN1Integer j | |
| p | back to summary |
|---|---|
| private final ASN1Integer p | |
| q | back to summary |
|---|---|
| private final ASN1Integer q | |
| validationParams | back to summary |
|---|---|
| private final ValidationParams validationParams | |
| DomainParameters | back to summary |
|---|---|
| public DomainParameters(BigInteger p, BigInteger g, BigInteger q, BigInteger j, ValidationParams validationParams) Base constructor - the full domain parameter set.
| |
| DomainParameters | back to summary |
|---|---|
| private DomainParameters(ASN1Sequence seq) | |
| getG | back to summary |
|---|---|
| public BigInteger getG() Return the generator of the multiplicative subgroup of order g.
| |
| getInstance | back to summary |
|---|---|
| public static DomainParameters getInstance(ASN1TaggedObject obj, boolean explicit) Return a DomainParameters object from the passed in tagged object.
| |
| getInstance | back to summary |
|---|---|
| public static DomainParameters getInstance(Object obj) Return a DomainParameters object from the passed in object.
| |
| getJ | back to summary |
|---|---|
| public BigInteger getJ() Return the value that satisfies the equation p = jq+1 (if present).
| |
| getNext | back to summary |
|---|---|
| private static ASN1Encodable getNext(Enumeration<E> e) | |
| 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
| |
| getValidationParams | back to summary |
|---|---|
| public ValidationParams getValidationParams() Return the validation parameters for this set (if present).
| |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Return an ASN.1 primitive representation of this object.
| |