org.gudy.bouncycastle.asn1.x9
Class X962Parameters

java.lang.Object
  extended by org.gudy.bouncycastle.asn1.x9.X962Parameters
All Implemented Interfaces:
DEREncodable

public class X962Parameters
extends java.lang.Object
implements DEREncodable


Constructor Summary
X962Parameters(DERObject obj)
           
X962Parameters(DERObjectIdentifier namedCurve)
           
X962Parameters(X9ECParameters ecParameters)
           
 
Method Summary
 DERObject getDERObject()
          Produce an object suitable for an ASN1OutputStream.
 DERObject getParameters()
           
 boolean isNamedCurve()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X962Parameters

public X962Parameters(X9ECParameters ecParameters)

X962Parameters

public X962Parameters(DERObjectIdentifier namedCurve)

X962Parameters

public X962Parameters(DERObject obj)
Method Detail

isNamedCurve

public boolean isNamedCurve()

getParameters

public DERObject getParameters()

getDERObject

public DERObject getDERObject()
Produce an object suitable for an ASN1OutputStream.
 Parameters ::= CHOICE {
    ecParameters ECParameters,
    namedCurve   CURVES.&id({CurveNames}),
    implicitlyCA NULL
 }
 

Specified by:
getDERObject in interface DEREncodable