Top Fields Constructors Methods
org.bouncycastle.asn1.pkcs

public Class DHParameter

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

Field Summary

Modifier and TypeField and Description
pack-priv ASN1Integer
g

pack-priv ASN1Integer
l

pack-priv ASN1Integer
p

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

Modifier and TypeMethod and Description
public BigInteger
getG()

public static DHParameter
public BigInteger
getL()

public BigInteger
getP()

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
pack-priv ASN1Integer g
lback to summary
pack-priv ASN1Integer l
pback to summary
pack-priv ASN1Integer p

Constructor Detail

DHParameterback to summary
public DHParameter(BigInteger p, BigInteger g, int l)
DHParameterback to summary
private DHParameter(ASN1Sequence seq)

Method Detail

getGback to summary
public BigInteger getG()
getInstanceback to summary
public static DHParameter getInstance(Object obj)
getLback to summary
public BigInteger getL()
getPback to summary
public BigInteger getP()
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.