FileDocCategorySizeDatePackage
X9ECPoint.javaAPI DocAzureus 3.0.3.4998Mon Mar 20 04:56:46 GMT 2006org.bouncycastle.asn1.x9

X9ECPoint

public class X9ECPoint extends Object implements org.bouncycastle.asn1.DEREncodable
class for describing an ECPoint as a DER object.

Fields Summary
org.bouncycastle.math.ec.ECPoint
p
Constructors Summary
public X9ECPoint(org.bouncycastle.math.ec.ECPoint p)

        this.p = p;
    
public X9ECPoint(org.bouncycastle.math.ec.ECCurve c, org.bouncycastle.asn1.ASN1OctetString s)

        this.p = c.decodePoint(s.getOctets());
    
Methods Summary
public org.bouncycastle.asn1.DERObjectgetDERObject()
Produce an object suitable for an ASN1OutputStream.
ECPoint ::= OCTET STRING

Octet string produced using ECPoint.getEncoded().

        return new DEROctetString(p.getEncoded());
    
public org.bouncycastle.math.ec.ECPointgetPoint()

        return p;