com.mindbright.security.pkcs1
Class DSAParams

java.lang.Object
  extended by com.mindbright.asn1.ASN1Object
      extended by com.mindbright.asn1.ASN1Structure
          extended by com.mindbright.asn1.ASN1Sequence
              extended by com.mindbright.security.pkcs1.DSAParams

public class DSAParams
extends ASN1Sequence

Represents a DSA private key.

  Dss-Parms ::= SEQUENCE {
    p INTEGER,
    q INTEGER,
    g INTEGER
 }
 


Field Summary
 ASN1Integer g
           
 ASN1Integer p
           
 ASN1Integer q
           
 
Fields inherited from class com.mindbright.asn1.ASN1Structure
components, count, ofType
 
Fields inherited from class com.mindbright.asn1.ASN1Object
isSet, tag
 
Constructor Summary
DSAParams()
           
DSAParams(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger g)
           
 
Method Summary
 
Methods inherited from class com.mindbright.asn1.ASN1Structure
addComponent, addComponent, addOptional, addOptional, addOptional, decodeValue, encodeValue, equals, getComponent, getCount, getDecodeComponent, getDefault, getDistinctComponent, hashCode, isOptional, ofType
 
Methods inherited from class com.mindbright.asn1.ASN1Object
decodeValue, getTag, getType, isSet, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p

public ASN1Integer p

q

public ASN1Integer q

g

public ASN1Integer g
Constructor Detail

DSAParams

public DSAParams()

DSAParams

public DSAParams(java.math.BigInteger p,
                 java.math.BigInteger q,
                 java.math.BigInteger g)