org.bouncycastle.math.ec
Class ECCurve.Fp
java.lang.Object
org.bouncycastle.math.ec.ECCurve
org.bouncycastle.math.ec.ECCurve.Fp
- Enclosing class:
- ECCurve
public static class ECCurve.Fp
- extends ECCurve
Elliptic curve over Fp
|
Constructor Summary |
ECCurve.Fp(java.math.BigInteger q,
java.math.BigInteger a,
java.math.BigInteger b)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ECCurve.Fp
public ECCurve.Fp(java.math.BigInteger q,
java.math.BigInteger a,
java.math.BigInteger b)
getQ
public java.math.BigInteger getQ()
getFieldSize
public int getFieldSize()
- Specified by:
getFieldSize in class ECCurve
fromBigInteger
public ECFieldElement fromBigInteger(java.math.BigInteger x)
- Specified by:
fromBigInteger in class ECCurve
createPoint
public ECPoint createPoint(java.math.BigInteger x,
java.math.BigInteger y,
boolean withCompression)
- Specified by:
createPoint in class ECCurve
decompressPoint
protected ECPoint decompressPoint(int yTilde,
java.math.BigInteger X1)
- Specified by:
decompressPoint in class ECCurve
getInfinity
public ECPoint getInfinity()
- Specified by:
getInfinity in class ECCurve
equals
public boolean equals(java.lang.Object anObject)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object