ECCurve.F2m, ECCurve.Fp
Modifier and Type | Field and Description |
---|---|
(package private) ECPoint.Fp |
infinity |
(package private) java.math.BigInteger |
q |
Constructor and Description |
---|
ECCurve.Fp(java.math.BigInteger q,
java.math.BigInteger a,
java.math.BigInteger b) |
Modifier and Type | Method and Description |
---|---|
ECPoint |
createPoint(java.math.BigInteger x,
java.math.BigInteger y,
boolean withCompression) |
ECPoint |
decodePoint(byte[] encoded)
Decode a point on this curve from its ASN.1 encoding.
|
boolean |
equals(java.lang.Object anObject) |
ECFieldElement |
fromBigInteger(java.math.BigInteger x) |
int |
getFieldSize() |
ECPoint |
getInfinity() |
java.math.BigInteger |
getQ() |
int |
hashCode() |
java.math.BigInteger q
ECPoint.Fp infinity
public ECCurve.Fp(java.math.BigInteger q, java.math.BigInteger a, java.math.BigInteger b)
public java.math.BigInteger getQ()
public int getFieldSize()
getFieldSize
in class ECCurve
public ECFieldElement fromBigInteger(java.math.BigInteger x)
fromBigInteger
in class ECCurve
public ECPoint createPoint(java.math.BigInteger x, java.math.BigInteger y, boolean withCompression)
createPoint
in class ECCurve
public ECPoint decodePoint(byte[] encoded)
Fp
(X9.62 s 4.2.1 pg 17).decodePoint
in class ECCurve
public ECPoint getInfinity()
getInfinity
in class ECCurve
public boolean equals(java.lang.Object anObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object