org.gudy.bouncycastle.math.ec
Class ECCurve
java.lang.Object
org.gudy.bouncycastle.math.ec.ECCurve
- Direct Known Subclasses:
- ECCurve.F2m, ECCurve.Fp
public abstract class ECCurve
- extends Object
base class for an elliptic curve
Nested Class Summary |
static class |
ECCurve.F2m
Elliptic curves over F2m. |
static class |
ECCurve.Fp
Elliptic curve over Fp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ECCurve
public ECCurve()
getFieldSize
public abstract int getFieldSize()
fromBigInteger
public abstract ECFieldElement fromBigInteger(BigInteger x)
createPoint
public abstract ECPoint createPoint(BigInteger x,
BigInteger y,
boolean withCompression)
decodePoint
public abstract ECPoint decodePoint(byte[] encoded)
getInfinity
public abstract ECPoint getInfinity()
getA
public ECFieldElement getA()
getB
public ECFieldElement getB()