org.gudy.bouncycastle.asn1.x509
Class DSAParameter

java.lang.Object
  extended by org.gudy.bouncycastle.asn1.ASN1Encodable
      extended by org.gudy.bouncycastle.asn1.x509.DSAParameter
All Implemented Interfaces:
DEREncodable

public class DSAParameter
extends ASN1Encodable


Field Summary
 
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
DSAParameter(ASN1Sequence seq)
           
DSAParameter(BigInteger p, BigInteger q, BigInteger g)
           
 
Method Summary
 BigInteger getG()
           
static DSAParameter getInstance(ASN1TaggedObject obj, boolean explicit)
           
static DSAParameter getInstance(Object obj)
           
 BigInteger getP()
           
 BigInteger getQ()
           
 DERObject toASN1Object()
           
 
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSAParameter

public DSAParameter(BigInteger p,
                    BigInteger q,
                    BigInteger g)

DSAParameter

public DSAParameter(ASN1Sequence seq)
Method Detail

getInstance

public static DSAParameter getInstance(ASN1TaggedObject obj,
                                       boolean explicit)

getInstance

public static DSAParameter getInstance(Object obj)

getP

public BigInteger getP()

getQ

public BigInteger getQ()

getG

public BigInteger getG()

toASN1Object

public DERObject toASN1Object()
Specified by:
toASN1Object in class ASN1Encodable