Most visited

Recently visited

Added in API level 1

ECPoint

public class ECPoint
extends Object

java.lang.Object
    java.security.spec.ECPoint


这个不可变的类表示仿射坐标中的椭圆曲线(EC)上的点。 其他坐标系可以扩展这个类来在其他坐标中表示这个点。

摘要(Summary)

Fields

public static final ECPoint POINT_INFINITY

这定义了无穷远处的点。

Public constructors

ECPoint(BigInteger x, BigInteger y)

从指定的仿射x坐标 x创建 x并仿射y坐标 y

公共方法(Public methods)

boolean equals(Object obj)

将这个椭圆曲线点与指定对象进行相等比较。

BigInteger getAffineX()

返回仿射x坐标 x

BigInteger getAffineY()

返回仿射的y坐标 y

int hashCode()

返回此椭圆曲线点的哈希码值。

继承方法(Inherited methods)

From class java.lang.Object

Fields

POINT_INFINITY

Added in API level 1
ECPoint POINT_INFINITY

这定义了无穷远处的点。

Public constructors

ECPoint

Added in API level 1
ECPoint (BigInteger x, 
                BigInteger y)

从指定的仿射x坐标 x创建 x并仿射y坐标 y

参数(Parameters)
x BigInteger: the affine x-coordinate.
y BigInteger: the affine y-coordinate.
抛出异常(Throws)
NullPointerException if x or y is null.

公共方法(Public methods)

equals

Added in API level 1
boolean equals (Object obj)

将这个椭圆曲线点与指定对象进行相等比较。

参数(Parameters)
obj Object: the object to be compared.
返回(Returns)
boolean true if obj is an instance of ECPoint and the affine coordinates match, false otherwise.

getAffineX

Added in API level 1
BigInteger getAffineX ()

返回仿射x坐标x 注意:POINT_INFINITY具有空仿射x坐标。

返回(Returns)
BigInteger the affine x-coordinate.

getAffineY

Added in API level 1
BigInteger getAffineY ()

返回仿射y坐标y 注意:POINT_INFINITY具有空仿射y坐标。

返回(Returns)
BigInteger the affine y-coordinate.

hashCode

Added in API level 1
int hashCode ()

返回此椭圆曲线点的哈希码值。

返回(Returns)
int a hash code value.

Hooray!