org.bouncycastle.math.ec

Class ECCurve


public abstract class ECCurve
extends java.lang.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

Constructor Summary

ECCurve(BigInteger q, BigInteger a, BigInteger b)

Method Summary

ECPoint
decodePoint(byte[] encoded)
ECFieldElement
fromBigInteger(BigInteger x)
ECFieldElement
getA()
ECFieldElement
getB()

Constructor Details

ECCurve

public ECCurve(BigInteger q,
               BigInteger a,
               BigInteger b)

Method Details

decodePoint

public ECPoint decodePoint(byte[] encoded)


fromBigInteger

public ECFieldElement fromBigInteger(BigInteger x)


getA

public ECFieldElement getA()


getB

public ECFieldElement getB()