Package org.bouncycastle.math.ec
Class ECCurve.Fp
- java.lang.Object
-
- org.bouncycastle.math.ec.ECCurve
-
- org.bouncycastle.math.ec.ECCurve.AbstractFp
-
- org.bouncycastle.math.ec.ECCurve.Fp
-
- Enclosing class:
- ECCurve
public static class ECCurve.Fp extends ECCurve.AbstractFp
Elliptic curve over Fp
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bouncycastle.math.ec.ECCurve
ECCurve.AbstractF2m, ECCurve.AbstractFp, ECCurve.Config, ECCurve.F2m, ECCurve.Fp
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.math.ec.ECCurve
a, b, cofactor, coord, COORD_AFFINE, COORD_HOMOGENEOUS, COORD_JACOBIAN, COORD_JACOBIAN_CHUDNOVSKY, COORD_JACOBIAN_MODIFIED, COORD_LAMBDA_AFFINE, COORD_LAMBDA_PROJECTIVE, COORD_SKEWED, endomorphism, field, multiplier, order
-
-
Constructor Summary
Constructors Modifier Constructor Description Fp(BigInteger q, BigInteger a, BigInteger b)Fp(BigInteger q, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor)protectedFp(BigInteger q, BigInteger r, ECFieldElement a, ECFieldElement b)protectedFp(BigInteger q, BigInteger r, ECFieldElement a, ECFieldElement b, BigInteger order, BigInteger cofactor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ECCurvecloneCurve()protected ECPointcreateRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression)protected ECPointcreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression)ECFieldElementfromBigInteger(BigInteger x)intgetFieldSize()ECPointgetInfinity()BigIntegergetQ()ECPointimportPoint(ECPoint p)booleansupportsCoordinateSystem(int coord)-
Methods inherited from class org.bouncycastle.math.ec.ECCurve.AbstractFp
decompressPoint
-
Methods inherited from class org.bouncycastle.math.ec.ECCurve
checkPoint, checkPoints, checkPoints, configure, createDefaultMultiplier, createPoint, createPoint, decodePoint, equals, equals, getA, getAllCoordinateSystems, getB, getCofactor, getCoordinateSystem, getEndomorphism, getField, getMultiplier, getOrder, getPreCompInfo, hashCode, normalizeAll, normalizeAll, setPreCompInfo, validatePoint, validatePoint
-
-
-
-
Constructor Detail
-
Fp
public Fp(BigInteger q, BigInteger a, BigInteger b)
-
Fp
public Fp(BigInteger q, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor)
-
Fp
protected Fp(BigInteger q, BigInteger r, ECFieldElement a, ECFieldElement b)
-
Fp
protected Fp(BigInteger q, BigInteger r, ECFieldElement a, ECFieldElement b, BigInteger order, BigInteger cofactor)
-
-
Method Detail
-
cloneCurve
protected ECCurve cloneCurve()
- Specified by:
cloneCurvein classECCurve
-
supportsCoordinateSystem
public boolean supportsCoordinateSystem(int coord)
- Overrides:
supportsCoordinateSystemin classECCurve
-
getQ
public BigInteger getQ()
-
getFieldSize
public int getFieldSize()
- Specified by:
getFieldSizein classECCurve
-
fromBigInteger
public ECFieldElement fromBigInteger(BigInteger x)
- Specified by:
fromBigIntegerin classECCurve
-
createRawPoint
protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression)
- Specified by:
createRawPointin classECCurve
-
createRawPoint
protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression)
- Specified by:
createRawPointin classECCurve
-
importPoint
public ECPoint importPoint(ECPoint p)
- Overrides:
importPointin classECCurve
-
getInfinity
public ECPoint getInfinity()
- Specified by:
getInfinityin classECCurve
-
-