Class SecT239K1Curve
- java.lang.Object
-
- org.bouncycastle.math.ec.ECCurve
-
- org.bouncycastle.math.ec.ECCurve.AbstractF2m
-
- org.bouncycastle.math.ec.custom.sec.SecT239K1Curve
-
public class SecT239K1Curve extends ECCurve.AbstractF2m
-
-
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 Modifier and Type Field Description protected SecT239K1Pointinfinity-
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 Constructor Description SecT239K1Curve()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ECCurvecloneCurve()ECLookupTablecreateCacheSafeLookupTable(ECPoint[] points, int off, int len)Create a cache-safe lookup table for the specified sequence of points.protected ECMultipliercreateDefaultMultiplier()protected ECPointcreateRawPoint(ECFieldElement x, ECFieldElement y)protected ECPointcreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs)ECFieldElementfromBigInteger(java.math.BigInteger x)intgetFieldSize()ECPointgetInfinity()intgetK1()intgetK2()intgetK3()intgetM()booleanisKoblitz()Returns true if this is a Koblitz curve (ABC curve).booleanisTrinomial()booleansupportsCoordinateSystem(int coord)-
Methods inherited from class org.bouncycastle.math.ec.ECCurve.AbstractF2m
createPoint, decompressPoint, inverse, isValidFieldElement, randomFieldElement, randomFieldElementMult, solveQuadraticEquation
-
Methods inherited from class org.bouncycastle.math.ec.ECCurve
checkPoint, checkPoints, checkPoints, configure, decodePoint, equals, equals, getA, getAllCoordinateSystems, getB, getCofactor, getCoordinateSystem, getEndomorphism, getField, getMultiplier, getOrder, getPreCompInfo, hashCode, importPoint, normalizeAll, normalizeAll, precompute, validatePoint
-
-
-
-
Field Detail
-
infinity
protected SecT239K1Point infinity
-
-
Method Detail
-
cloneCurve
protected ECCurve cloneCurve()
- Specified by:
cloneCurvein classECCurve
-
supportsCoordinateSystem
public boolean supportsCoordinateSystem(int coord)
- Overrides:
supportsCoordinateSystemin classECCurve
-
createDefaultMultiplier
protected ECMultiplier createDefaultMultiplier()
- Overrides:
createDefaultMultiplierin classECCurve
-
getFieldSize
public int getFieldSize()
- Specified by:
getFieldSizein classECCurve
-
fromBigInteger
public ECFieldElement fromBigInteger(java.math.BigInteger x)
- Specified by:
fromBigIntegerin classECCurve
-
createRawPoint
protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y)
- Specified by:
createRawPointin classECCurve
-
createRawPoint
protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs)
- Specified by:
createRawPointin classECCurve
-
getInfinity
public ECPoint getInfinity()
- Specified by:
getInfinityin classECCurve
-
isKoblitz
public boolean isKoblitz()
Description copied from class:ECCurve.AbstractF2mReturns true if this is a Koblitz curve (ABC curve).- Overrides:
isKoblitzin classECCurve.AbstractF2m- Returns:
- true if this is a Koblitz curve (ABC curve), false otherwise
-
getM
public int getM()
-
isTrinomial
public boolean isTrinomial()
-
getK1
public int getK1()
-
getK2
public int getK2()
-
getK3
public int getK3()
-
createCacheSafeLookupTable
public ECLookupTable createCacheSafeLookupTable(ECPoint[] points, int off, int len)
Description copied from class:ECCurveCreate a cache-safe lookup table for the specified sequence of points. All the points MUST belong to thisECCurveinstance, and MUST already be normalized.- Overrides:
createCacheSafeLookupTablein classECCurve
-
-