Class SecT163R2Curve
- java.lang.Object
-
- org.bouncycastle.math.ec.ECCurve
-
- org.bouncycastle.math.ec.ECCurve.AbstractF2m
-
- org.bouncycastle.math.ec.custom.sec.SecT163R2Curve
-
public class SecT163R2Curve 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 SecT163R2Pointinfinity-
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 SecT163R2Curve()
-
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 ECPointcreateRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression)protected ECPointcreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression)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, solveQuadraticEquation
-
Methods inherited from class org.bouncycastle.math.ec.ECCurve
checkPoint, checkPoints, checkPoints, configure, createDefaultMultiplier, createPoint, decodePoint, equals, equals, getA, getAllCoordinateSystems, getB, getCofactor, getCoordinateSystem, getEndomorphism, getField, getMultiplier, getOrder, getPreCompInfo, hashCode, importPoint, normalizeAll, normalizeAll, precompute, validatePoint, validatePoint
-
-
-
-
Field Detail
-
infinity
protected SecT163R2Point infinity
-
-
Method Detail
-
cloneCurve
protected ECCurve cloneCurve()
- Specified by:
cloneCurvein classECCurve
-
supportsCoordinateSystem
public boolean supportsCoordinateSystem(int coord)
- Overrides:
supportsCoordinateSystemin 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, boolean withCompression)
- Specified by:
createRawPointin classECCurve
-
createRawPoint
protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression)
- 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
-
-