org.bouncycastle.math.ec

Class ECCurve.Fp

Enclosing Class:
ECCurve

public static class ECCurve.Fp
extends ECCurve

Elliptic curve over Fp

Nested Class Summary

Nested classes/interfaces inherited from class org.bouncycastle.math.ec.ECCurve

ECCurve.F2m, ECCurve.Fp

Constructor Summary

Fp(BigInteger q, BigInteger a, BigInteger b)

Method Summary

ECPoint
decodePoint(byte[] encoded)
decode a point on this curve which has been encoded using point compression (X9.62 s 4.2.1 pg 17) returning the point.
ECFieldElement
fromBigInteger(BigInteger x)
BigInteger
getQ()

Methods inherited from class org.bouncycastle.math.ec.ECCurve

decodePoint, fromBigInteger, getA, getB

Constructor Details

Fp

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

Method Details

decodePoint

public ECPoint decodePoint(byte[] encoded)
decode a point on this curve which has been encoded using point compression (X9.62 s 4.2.1 pg 17) returning the point.
Overrides:
decodePoint in interface ECCurve


fromBigInteger

public ECFieldElement fromBigInteger(BigInteger x)
Overrides:
fromBigInteger in interface ECCurve


getQ

public BigInteger getQ()