public class X9ECPoint extends ASN1Object
Constructor and Description |
---|
X9ECPoint(ECCurve c,
ASN1OctetString s) |
X9ECPoint(ECCurve c,
byte[] encoding) |
X9ECPoint(ECPoint p)
Deprecated.
use X9ECPoint(p, false)
|
X9ECPoint(ECPoint p,
boolean compressed) |
Modifier and Type | Method and Description |
---|---|
ECPoint |
getPoint() |
byte[] |
getPointEncoding() |
boolean |
isPointCompressed() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public X9ECPoint(ECPoint p)
public X9ECPoint(ECPoint p, boolean compressed)
public X9ECPoint(ECCurve c, byte[] encoding)
public X9ECPoint(ECCurve c, ASN1OctetString s)
public byte[] getPointEncoding()
public ECPoint getPoint()
public boolean isPointCompressed()
public ASN1Primitive toASN1Primitive()
ECPoint ::= OCTET STRING
Octet string produced using ECPoint.getEncoded().
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object