Skip to content

Most visited

Recently visited

navigation
Added in API level 1

ECPoint

public class ECPoint
extends Object

java.lang.Object
   ↳ java.security.spec.ECPoint


A Point on an Elliptic Curve in barycentric (or affine) coordinates.

Summary

Fields

public static final ECPoint POINT_INFINITY

The point on an Elliptic Curve at infinity.

Public constructors

ECPoint(BigInteger affineX, BigInteger affineY)

Creates a new point at the specified coordinates.

Public methods

boolean equals(Object other)

Returns whether the specified object and this elliptic curve point are equal.

BigInteger getAffineX()

Returns the x-coordinate.

BigInteger getAffineY()

Returns the y-coordinate.

int hashCode()

Returns the hashcode of this elliptic curve point.

Inherited methods

From class java.lang.Object

Fields

POINT_INFINITY

Added in API level 1
ECPoint POINT_INFINITY

The point on an Elliptic Curve at infinity.

Public constructors

ECPoint

Added in API level 1
ECPoint (BigInteger affineX, 
                BigInteger affineY)

Creates a new point at the specified coordinates.

Parameters
affineX BigInteger: the x-coordinate.
affineY BigInteger: the y-coordinate.

Public methods

equals

Added in API level 1
boolean equals (Object other)

Returns whether the specified object and this elliptic curve point are equal.

Parameters
other Object: the object to compare.
Returns
boolean true if the specified object and this elliptic curve point are equal, otherwise false.

getAffineX

Added in API level 1
BigInteger getAffineX ()

Returns the x-coordinate.

Returns
BigInteger the x-coordinate, or null for the infinite point.

getAffineY

Added in API level 1
BigInteger getAffineY ()

Returns the y-coordinate.

Returns
BigInteger the y-coordinate, or null fot the infinite point.

hashCode

Added in API level 1
int hashCode ()

Returns the hashcode of this elliptic curve point.

Returns
int the hashcode of this elliptic curve point.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.