Top Fields Constructors Methods
org.bouncycastle.asn1.x509

public Class DSAParameter

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

Field Summary

Modifier and TypeField and Description
pack-priv ASN1Integer
g

pack-priv ASN1Integer
p

pack-priv ASN1Integer
q

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

Modifier and TypeMethod and Description
public BigInteger
getG()

public static DSAParameter
getInstance(ASN1TaggedObject obj, boolean explicit)

public static DSAParameter
public BigInteger
getP()

public BigInteger
getQ()

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:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

gback to summary
pack-priv ASN1Integer g
pback to summary
pack-priv ASN1Integer p
qback to summary
pack-priv ASN1Integer q

Constructor Detail

DSAParameterback to summary
public DSAParameter(BigInteger p, BigInteger q, BigInteger g)
DSAParameterback to summary
private DSAParameter(ASN1Sequence seq)

Method Detail

getGback to summary
public BigInteger getG()
getInstanceback to summary
public static DSAParameter getInstance(ASN1TaggedObject obj, boolean explicit)
getInstanceback to summary
public static DSAParameter getInstance(Object obj)
getPback to summary
public BigInteger getP()
getQback to summary
public BigInteger getQ()
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.