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.
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.
Static Constant.
This defines the point at infinity.
type: java.security.spec.ECPoint
Static Constant. This defines the point at infinity. type: java.security.spec.ECPoint
(->ec-point x y)
Constructor.
Creates an ECPoint from the specified affine x-coordinate x and affine y-coordinate y.
x - the affine x-coordinate. - java.math.BigInteger
y - the affine y-coordinate. - java.math.BigInteger
throws: java.lang.NullPointerException - if x or y is null.
Constructor. Creates an ECPoint from the specified affine x-coordinate x and affine y-coordinate y. x - the affine x-coordinate. - `java.math.BigInteger` y - the affine y-coordinate. - `java.math.BigInteger` throws: java.lang.NullPointerException - if x or y is null.
(equals this obj)
Compares this elliptic curve point for equality with the specified object.
obj - the object to be compared. - java.lang.Object
returns: true if obj is an instance of
ECPoint and the affine coordinates match, false otherwise. - boolean
Compares this elliptic curve point for equality with the specified object. obj - the object to be compared. - `java.lang.Object` returns: true if obj is an instance of ECPoint and the affine coordinates match, false otherwise. - `boolean`
(get-affine-x this)
Returns the affine x-coordinate x. Note: POINT_INFINITY has a null affine x-coordinate.
returns: the affine x-coordinate. - java.math.BigInteger
Returns the affine x-coordinate x. Note: POINT_INFINITY has a null affine x-coordinate. returns: the affine x-coordinate. - `java.math.BigInteger`
(get-affine-y this)
Returns the affine y-coordinate y. Note: POINT_INFINITY has a null affine y-coordinate.
returns: the affine y-coordinate. - java.math.BigInteger
Returns the affine y-coordinate y. Note: POINT_INFINITY has a null affine y-coordinate. returns: the affine y-coordinate. - `java.math.BigInteger`
(hash-code this)
Returns a hash code value for this elliptic curve point.
returns: a hash code value. - int
Returns a hash code value for this elliptic curve point. returns: a hash code value. - `int`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close