public class EllipticCurve extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static BigInteger |
COEFA |
static BigInteger |
COEFB |
static BigInteger |
THREE |
static BigInteger |
TWO |
| 构造器和说明 |
|---|
EllipticCurve(BigInteger a,
BigInteger b,
BigInteger p)
Constructs an elliptic curve over the finite field of 'mod' elements.
|
EllipticCurve(DataInputStream input) |
EllipticCurve(ECParameters ecp) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
BigInteger |
getA() |
BigInteger |
getB() |
ECPoint |
getBasePointG() |
BigInteger |
getN() |
BigInteger |
getP() |
int |
getPCS() |
BigInteger |
getPSR2() |
ECPoint |
getZero() |
int |
hashCode() |
boolean |
isOnCurve(ECPoint q) |
String |
toString() |
void |
writeCurve(DataOutputStream output) |
public static final BigInteger COEFA
public static final BigInteger COEFB
public static final BigInteger TWO
public static final BigInteger THREE
public EllipticCurve(BigInteger a, BigInteger b, BigInteger p)
a - the value of 'a' where y^2 = x^3 + ax + bb - the value of 'b' where y^2 = x^3 + ax + bp - the elliptic curve point in finite fieldpublic EllipticCurve(ECParameters ecp)
public EllipticCurve(DataInputStream input) throws IOException
IOExceptionpublic void writeCurve(DataOutputStream output) throws IOException
IOExceptionpublic boolean isOnCurve(ECPoint q)
public BigInteger getN()
public ECPoint getZero()
public BigInteger getA()
public BigInteger getB()
public BigInteger getP()
public int getPCS()
public ECPoint getBasePointG()
public BigInteger getPSR2()
Copyright © 2023. All rights reserved.