public static class ECCurve.Fp extends ECCurve.AbstractFp
ECCurve.AbstractF2m, ECCurve.AbstractFp, ECCurve.Config, ECCurve.F2m, ECCurve.Fp
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
Modifier | Constructor and Description |
---|---|
|
Fp(java.math.BigInteger q,
java.math.BigInteger a,
java.math.BigInteger b,
java.math.BigInteger order,
java.math.BigInteger cofactor) |
|
Fp(java.math.BigInteger q,
java.math.BigInteger a,
java.math.BigInteger b,
java.math.BigInteger order,
java.math.BigInteger cofactor,
boolean isInternal) |
protected |
Fp(java.math.BigInteger q,
java.math.BigInteger r,
ECFieldElement a,
ECFieldElement b,
java.math.BigInteger order,
java.math.BigInteger cofactor) |
Modifier and Type | Method and Description |
---|---|
protected ECCurve |
cloneCurve() |
protected ECPoint |
createRawPoint(ECFieldElement x,
ECFieldElement y) |
protected ECPoint |
createRawPoint(ECFieldElement x,
ECFieldElement y,
ECFieldElement[] zs) |
ECFieldElement |
fromBigInteger(java.math.BigInteger x) |
int |
getFieldSize() |
ECPoint |
getInfinity() |
java.math.BigInteger |
getQ() |
ECPoint |
importPoint(ECPoint p) |
boolean |
supportsCoordinateSystem(int coord) |
decompressPoint, isValidFieldElement, randomFieldElement, randomFieldElementMult
checkPoint, checkPoints, checkPoints, configure, createCacheSafeLookupTable, createDefaultMultiplier, createPoint, decodePoint, equals, equals, getA, getAllCoordinateSystems, getB, getCofactor, getCoordinateSystem, getEndomorphism, getField, getMultiplier, getOrder, getPreCompInfo, hashCode, normalizeAll, normalizeAll, precompute, validatePoint
public Fp(java.math.BigInteger q, java.math.BigInteger a, java.math.BigInteger b, java.math.BigInteger order, java.math.BigInteger cofactor)
public Fp(java.math.BigInteger q, java.math.BigInteger a, java.math.BigInteger b, java.math.BigInteger order, java.math.BigInteger cofactor, boolean isInternal)
protected Fp(java.math.BigInteger q, java.math.BigInteger r, ECFieldElement a, ECFieldElement b, java.math.BigInteger order, java.math.BigInteger cofactor)
protected ECCurve cloneCurve()
cloneCurve
in class ECCurve
public boolean supportsCoordinateSystem(int coord)
supportsCoordinateSystem
in class ECCurve
public java.math.BigInteger getQ()
public int getFieldSize()
getFieldSize
in class ECCurve
public ECFieldElement fromBigInteger(java.math.BigInteger x)
fromBigInteger
in class ECCurve
protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y)
createRawPoint
in class ECCurve
protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs)
createRawPoint
in class ECCurve
public ECPoint importPoint(ECPoint p)
importPoint
in class ECCurve
public ECPoint getInfinity()
getInfinity
in class ECCurve