public class ECPoint extends Object
| Modifier and Type | Field and Description |
|---|---|
static ECPoint |
POINT_INFINITY
The point on an Elliptic Curve at infinity.
|
| Constructor and Description |
|---|
ECPoint(BigInteger affineX,
BigInteger affineY)
Creates a new point at the specified coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final ECPoint POINT_INFINITY
public ECPoint(BigInteger affineX, BigInteger affineY)
affineX - the x-coordinate.affineY - the y-coordinate.public BigInteger getAffineX()
null for the infinite point.public BigInteger getAffineY()
null fot the infinite point.public boolean equals(Object other)
equals in class Objectother - the object to compare.true if the specified object and this elliptic curve
point are equal, otherwise false.Object.hashCode()public int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object)