Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.asn1.x9
Class X9ECPoint

    java.lang.Object
      org.bouncycastle.asn1.ASN1Object
          org.bouncycastle.asn1.x9.X9ECPoint

All Implemented Interfaces:
  ASN1Encodable, Encodable

public class X9ECPoint
extends ASN1Object

Class for describing an ECPoint as a DER object.

Constructor Summary
`X9ECPoint(ECCurve c, ASN1OctetString s)`
`X9ECPoint(ECCurve c, byte[] encoding)`
`X9ECPoint(ECPoint p, boolean compressed)`

Method Summary
`ECPoint` | `getPoint()`
`byte[]` | `getPointEncoding()`
`boolean` | `isPointCompressed()`
`ASN1Primitive` | `toASN1Primitive()` Produce an object suitable for an ASN1OutputStream.

Methods inherited from class org.bouncycastle.asn1.ASN1Object
`encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### X9ECPoint

    public X9ECPoint(ECPoint p,
                     boolean compressed)

### X9ECPoint

    public X9ECPoint(ECCurve c,
                     byte[] encoding)

### X9ECPoint

    public X9ECPoint(ECCurve c,
                     ASN1OctetString s)

Method Detail

### getPointEncoding

    public byte[] getPointEncoding()

### getPoint

    public ECPoint getPoint()

### isPointCompressed

    public boolean isPointCompressed()

### toASN1Primitive

    public ASN1Primitive toASN1Primitive()

  Produce an object suitable for an ASN1OutputStream. ECPoint ::= OCTET STRING

  Octet string produced using ECPoint.getEncoded().

  Specified by:
    `toASN1Primitive` in interface `ASN1Encodable`
  Specified by:
    `toASN1Primitive` in class `ASN1Object`
  Returns:
    a primitive representation of this object.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.84
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD