Save This Page
Home » openjdk-7 » java » security » spec » [javadoc | source]
public class: ECPoint [javadoc | source]
This immutable class represents a point on an elliptic curve (EC) in affine coordinates. Other coordinate systems can extend this class to represent this point in other coordinates.
Field Summary
public static final  ECPoint POINT_INFINITY    This defines the point at infinity. 
 public ECPoint(BigInteger x,
    BigInteger y) 
    Creates an ECPoint from the specified affine x-coordinate x and affine y-coordinate y.
    x - the affine x-coordinate.
    y - the affine y-coordinate.
    NullPointerException - if x or y is null.
    exception: NullPointerException - if x or y is null.
Method from Summary:
equals,   getAffineX,   getAffineY,   hashCode
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 public boolean equals(Object obj) 
    Compares this elliptic curve point for equality with the specified object.
 public BigInteger getAffineX() 
    Returns the affine x-coordinate x. Note: POINT_INFINITY has a null affine x-coordinate.
 public BigInteger getAffineY() 
    Returns the affine y-coordinate y. Note: POINT_INFINITY has a null affine y-coordinate.
 public int hashCode() 
    Returns a hash code value for this elliptic curve point.