ASN1Encodable
, Encodable
public class X9ECPoint extends ASN1Object
Constructor | Description |
---|---|
X9ECPoint(ECCurve c,
byte[] encoding) |
|
X9ECPoint(ECCurve c,
ASN1OctetString s) |
|
X9ECPoint(ECPoint p) |
|
X9ECPoint(ECPoint p,
boolean compressed) |
Modifier and Type | Method | Description |
---|---|---|
ECPoint |
getPoint() |
|
byte[] |
getPointEncoding() |
|
boolean |
isPointCompressed() |
|
ASN1Primitive |
toASN1Primitive() |
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
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