Save This Page
Home » openjdk-7 » java » security » spec » [javadoc | source]
java.security.spec
public class: ECPoint [javadoc | source]
java.lang.Object
   java.security.spec.ECPoint
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. 
Constructor:
 public ECPoint(BigInteger x,
    BigInteger y) 
    Creates an ECPoint from the specified affine x-coordinate x and affine y-coordinate y.
    Parameters:
    x - the affine x-coordinate.
    y - the affine y-coordinate.
    Throws:
    NullPointerException - if x or y is null.
    exception: NullPointerException - if x or y is null.
Method from java.security.spec.ECPoint Summary:
equals,   getAffineX,   getAffineY,   hashCode
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.security.spec.ECPoint 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.