public class SM9P256V1Curve extends ECCurve.AbstractFp
SM9P256V1Field. This is the same custom-curve pattern as
SM2P256V1Curve but for a general (non-Solinas) prime; it is used only as
the G1 of the SM9 identity-based schemes and supports uncompressed points only.ECCurve.AbstractF2m, ECCurve.AbstractFp, ECCurve.Config, ECCurve.F2m, ECCurve.Fp| Modifier and Type | Field and Description |
|---|---|
protected SM9P256V1Point |
infinity |
static java.math.BigInteger |
q |
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 and Description |
|---|
SM9P256V1Curve() |
| Modifier and Type | Method and Description |
|---|---|
protected ECCurve |
cloneCurve() |
ECLookupTable |
createCacheSafeLookupTable(ECPoint[] points,
int off,
int len)
Create a cache-safe lookup table for the specified sequence of points.
|
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() |
boolean |
supportsCoordinateSystem(int coord) |
decompressPoint, isValidFieldElement, randomFieldElement, randomFieldElementMultcheckPoint, checkPoints, checkPoints, configure, createDefaultMultiplier, createPoint, decodePoint, equals, equals, getA, getAffinePointEncodingLength, getAllCoordinateSystems, getB, getCofactor, getCoordinateSystem, getEndomorphism, getField, getFieldElementEncodingLength, getMultiplier, getOrder, getPreCompInfo, hashCode, importPoint, normalizeAll, normalizeAll, precompute, validatePointpublic static final java.math.BigInteger q
protected SM9P256V1Point infinity
protected ECCurve cloneCurve()
cloneCurve in class ECCurvepublic boolean supportsCoordinateSystem(int coord)
supportsCoordinateSystem in class ECCurvepublic java.math.BigInteger getQ()
getQ in class ECCurve.AbstractFppublic int getFieldSize()
getFieldSize in class ECCurvepublic ECFieldElement fromBigInteger(java.math.BigInteger x)
fromBigInteger in class ECCurveprotected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y)
createRawPoint in class ECCurveprotected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs)
createRawPoint in class ECCurvepublic ECPoint getInfinity()
getInfinity in class ECCurvepublic ECLookupTable createCacheSafeLookupTable(ECPoint[] points, int off, int len)
ECCurveECCurve instance, and MUST already be normalized.createCacheSafeLookupTable in class ECCurve