Package 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 java.lang.Object
base class for an elliptic curve
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ECCurve.F2m
Elliptic curves over F2m.static class
ECCurve.Fp
Elliptic curve over Fp
-
Field Summary
Fields Modifier and Type Field Description (package private) ECFieldElement
a
(package private) ECFieldElement
b
-
Constructor Summary
Constructors Constructor Description ECCurve()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ECPoint
createPoint(java.math.BigInteger x, java.math.BigInteger y, boolean withCompression)
abstract ECPoint
decodePoint(byte[] encoded)
abstract ECFieldElement
fromBigInteger(java.math.BigInteger x)
ECFieldElement
getA()
ECFieldElement
getB()
abstract int
getFieldSize()
abstract ECPoint
getInfinity()
-
-
-
Field Detail
-
a
ECFieldElement a
-
b
ECFieldElement b
-
-
Method Detail
-
getFieldSize
public abstract int getFieldSize()
-
fromBigInteger
public abstract ECFieldElement fromBigInteger(java.math.BigInteger x)
-
createPoint
public abstract ECPoint createPoint(java.math.BigInteger x, java.math.BigInteger y, boolean withCompression)
-
decodePoint
public abstract ECPoint decodePoint(byte[] encoded)
-
getInfinity
public abstract ECPoint getInfinity()
-
getA
public ECFieldElement getA()
-
getB
public ECFieldElement getB()
-
-