Top Description Constructors Methods
org.bouncycastle.jce

public Class ECPointUtil

extends Object
Class Inheritance
Imports
java.security.spec.ECFieldF2m, .ECFieldFp, .ECPoint, .EllipticCurve, org.bouncycastle.jcajce.provider.asymmetric.util.EC5Util, org.bouncycastle.math.ec.ECCurve

Utility class for handling EC point decoding.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ECPoint

Returns:

the decoded point.
decodePoint
(EllipticCurve
The elliptic curve.
curve
,
byte[]
The encoded point.
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.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ECPointUtilback to summary
public ECPointUtil()

Method Detail

decodePointback to summary
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:EllipticCurve

The elliptic curve.

encoded:byte[]

The encoded point.

Returns:ECPoint

the decoded point.