public class

ECPointUtil

extends Object
java.lang.Object
   ↳ org.bouncycastle.jce.ECPointUtil

Class Overview

Utility class for handling EC point decoding.

Summary

Public Constructors
ECPointUtil()
Public Methods
static ECPoint decodePoint(EllipticCurve curve, byte[] encoded)
Decode a point on this curve which has been encoded using point compression (X9.62 s 4.2.1 and 4.2.2) or regular encoding.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ECPointUtil ()

Public Methods

public static ECPoint decodePoint (EllipticCurve curve, byte[] encoded)

Decode a point on this curve which has been encoded using point compression (X9.62 s 4.2.1 and 4.2.2) or regular encoding.

Parameters
curve The elliptic curve.
encoded The encoded point.
Returns
  • the decoded point.