org.gudy.bouncycastle.asn1.pkcs
Class DHParameter

java.lang.Object
  extended by org.gudy.bouncycastle.asn1.pkcs.DHParameter
All Implemented Interfaces:
DEREncodable

public class DHParameter
extends java.lang.Object
implements DEREncodable


Constructor Summary
DHParameter(ASN1Sequence seq)
           
DHParameter(java.math.BigInteger p, java.math.BigInteger g, int l)
           
 
Method Summary
 DERObject getDERObject()
           
 java.math.BigInteger getG()
           
 java.math.BigInteger getL()
           
 java.math.BigInteger getP()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHParameter

public DHParameter(java.math.BigInteger p,
                   java.math.BigInteger g,
                   int l)

DHParameter

public DHParameter(ASN1Sequence seq)
Method Detail

getP

public java.math.BigInteger getP()

getG

public java.math.BigInteger getG()

getL

public java.math.BigInteger getL()

getDERObject

public DERObject getDERObject()
Specified by:
getDERObject in interface DEREncodable