Package org.gudy.bouncycastle.asn1.x509
Class DSAParameter
- java.lang.Object
-
- org.gudy.bouncycastle.asn1.ASN1Encodable
-
- org.gudy.bouncycastle.asn1.x509.DSAParameter
-
- All Implemented Interfaces:
DEREncodable
public class DSAParameter extends ASN1Encodable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) DERInteger
g
(package private) DERInteger
p
(package private) DERInteger
q
-
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
-
Constructor Summary
Constructors Constructor Description DSAParameter(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g)
DSAParameter(ASN1Sequence seq)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger
getG()
static DSAParameter
getInstance(java.lang.Object obj)
static DSAParameter
getInstance(ASN1TaggedObject obj, boolean explicit)
java.math.BigInteger
getP()
java.math.BigInteger
getQ()
DERObject
toASN1Object()
-
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
-
-
-
Field Detail
-
p
DERInteger p
-
q
DERInteger q
-
g
DERInteger g
-
-
Constructor Detail
-
DSAParameter
public DSAParameter(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g)
-
DSAParameter
public DSAParameter(ASN1Sequence seq)
-
-
Method Detail
-
getInstance
public static DSAParameter getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
public static DSAParameter getInstance(java.lang.Object obj)
-
getP
public java.math.BigInteger getP()
-
getQ
public java.math.BigInteger getQ()
-
getG
public java.math.BigInteger getG()
-
toASN1Object
public DERObject toASN1Object()
- Specified by:
toASN1Object
in classASN1Encodable
-
-