org.gudy.bouncycastle.asn1.x9
Class X9ECPoint

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

public class X9ECPoint
extends Object
implements DEREncodable

class for describing an ECPoint as a DER object.


Constructor Summary
X9ECPoint(ECCurve c, ASN1OctetString s)
           
X9ECPoint(ECPoint p)
           
 
Method Summary
 DERObject getDERObject()
          Produce an object suitable for an ASN1OutputStream.
 ECPoint getPoint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X9ECPoint

public X9ECPoint(ECPoint p)

X9ECPoint

public X9ECPoint(ECCurve c,
                 ASN1OctetString s)
Method Detail

getPoint

public ECPoint getPoint()

getDERObject

public DERObject getDERObject()
Produce an object suitable for an ASN1OutputStream.
  ECPoint ::= OCTET STRING
 

Octet string produced using ECPoint.getEncoded().

Specified by:
getDERObject in interface DEREncodable