public class Point extends Object
| 构造器和说明 |
|---|
Point(Curve curve,
FieldElement x,
FieldElement y) |
Point(Curve curve,
FieldElement x,
FieldElement y,
boolean compressed) |
| 限定符和类型 | 方法和说明 |
|---|---|
Point |
add(Point b) |
boolean |
equals(Object other) |
static int |
getByteLength(int fieldSize) |
Curve |
getCurve() |
byte[] |
getEncoded() |
FieldElement |
getX() |
FieldElement |
getY() |
int |
hashCode() |
static byte[] |
integerToBytes(BigInteger s,
int length) |
boolean |
isCompressed() |
boolean |
isInfinity() |
Point |
multiply(BigInteger k) |
Point |
multiplyTwo(BigInteger j,
Point x,
BigInteger k) |
Point |
negate() |
Point |
subtract(Point b) |
Point |
twice() |
public Point(Curve curve, FieldElement x, FieldElement y, boolean compressed)
public Point(Curve curve, FieldElement x, FieldElement y)
public Curve getCurve()
public FieldElement getX()
public FieldElement getY()
public boolean isInfinity()
public boolean isCompressed()
public byte[] getEncoded()
public Point twice()
public Point negate()
public Point multiply(BigInteger k)
public Point multiplyTwo(BigInteger j, Point x, BigInteger k)
public static int getByteLength(int fieldSize)
public static byte[] integerToBytes(BigInteger s, int length)
Copyright © 2019. All rights reserved.