Top Fields Constructors Methods
org.bouncycastle.asn1.x9

public Class DHDomainParameters

extends ASN1Object
Class Inheritance
Imports
java.math.BigInteger, java.util.Enumeration, org.bouncycastle.asn1.ASN1Encodable, .ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence

Deprecated

use DomainParameters

Field Summary

Modifier and TypeField and Description
private ASN1Integer
g

private ASN1Integer
j

private ASN1Integer
p

private ASN1Integer
q

private DHValidationParms
validationParms

Deprecated as a consequence of DHValidationParms being deprecated.

Constructor Summary

AccessConstructor and Description
public
DHDomainParameters(BigInteger p, BigInteger g, BigInteger q, BigInteger j, DHValidationParms validationParms)

Deprecated as a consequence of DHValidationParms being deprecated.
public
DHDomainParameters(ASN1Integer p, ASN1Integer g, ASN1Integer q, ASN1Integer j, DHValidationParms validationParms)

Deprecated as a consequence of DHValidationParms being deprecated.
private

Method Summary

Modifier and TypeMethod and Description
public ASN1Integer
getG()

public static DHDomainParameters
getInstance(ASN1TaggedObject obj, boolean explicit)

Deprecated as a consequence of DHDomainParameters being deprecated.
public static DHDomainParameters
getInstance(Object obj)

Deprecated as a consequence of DHDomainParameters being deprecated.
public ASN1Integer
getJ()

private static ASN1Encodable
public ASN1Integer
getP()

public ASN1Integer
getQ()

public DHValidationParms
getValidationParms()

Deprecated as a consequence of DHValidationParms being deprecated.
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

gback to summary
private ASN1Integer g
jback to summary
private ASN1Integer j
pback to summary
private ASN1Integer p
qback to summary
private ASN1Integer q
validationParmsback to summary
private DHValidationParms validationParms

Deprecated

as a consequence of DHValidationParms being deprecated. See corresponding docs for further information.

Constructor Detail

DHDomainParametersback to summary
public DHDomainParameters(BigInteger p, BigInteger g, BigInteger q, BigInteger j, DHValidationParms validationParms)

Deprecated

as a consequence of DHValidationParms being deprecated. See corresponding docs for further information.

DHDomainParametersback to summary
public DHDomainParameters(ASN1Integer p, ASN1Integer g, ASN1Integer q, ASN1Integer j, DHValidationParms validationParms)

Deprecated

as a consequence of DHValidationParms being deprecated. See corresponding docs for further information.

DHDomainParametersback to summary
private DHDomainParameters(ASN1Sequence seq)

Method Detail

getGback to summary
public ASN1Integer getG()
getInstanceback to summary
public static DHDomainParameters getInstance(ASN1TaggedObject obj, boolean explicit)

Deprecated

as a consequence of DHDomainParameters being deprecated. See corresponding docs for further information.

getInstanceback to summary
public static DHDomainParameters getInstance(Object obj)

Deprecated

as a consequence of DHDomainParameters being deprecated. See corresponding docs for further information.

getJback to summary
public ASN1Integer getJ()
getNextback to summary
private static ASN1Encodable getNext(Enumeration<E> e)
getPback to summary
public ASN1Integer getP()
getQback to summary
public ASN1Integer getQ()
getValidationParmsback to summary
public DHValidationParms getValidationParms()

Deprecated

as a consequence of DHValidationParms being deprecated. See corresponding docs for further information.

toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.