public class ECPoint extends Object
Modifier and Type | Field | Description |
---|---|---|
static final ECPoint |
POINT_INFINITY |
This defines the point at infinity. |
Constructor | Description |
---|---|
ECPoint |
Creates an ECPoint from the specified affine x-coordinate x and affine y-coordinate y . |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals |
Compares this elliptic curve point for equality with the specified object. |
BigInteger |
getAffineX() |
Returns the affine x-coordinate x . |
BigInteger |
getAffineY() |
Returns the affine y-coordinate y . |
int |
hashCode() |
Returns a hash code value for this elliptic curve point. |
public static final ECPoint POINT_INFINITY
public ECPoint(BigInteger x, BigInteger y)
x
and affine y-coordinate y
.x
- the affine x-coordinate.y
- the affine y-coordinate.NullPointerException
- if x
or y
is null.public BigInteger getAffineX()
x
. Note: POINT_INFINITY has a null affine x-coordinate.public BigInteger getAffineY()
y
. Note: POINT_INFINITY has a null affine y-coordinate.public boolean equals(Object obj)
public int hashCode()
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/security/spec/ECPoint.html