Class SecP521R1Point
- java.lang.Object
-
- org.bouncycastle.math.ec.ECPoint
-
- org.bouncycastle.math.ec.ECPoint.AbstractFp
-
- org.bouncycastle.math.ec.custom.sec.SecP521R1Point
-
public class SecP521R1Point extends ECPoint.AbstractFp
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bouncycastle.math.ec.ECPoint
ECPoint.AbstractF2m, ECPoint.AbstractFp, ECPoint.F2m, ECPoint.Fp
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.math.ec.ECPoint
curve, EMPTY_ZS, preCompTable, withCompression, x, y, zs
-
-
Constructor Summary
Constructors Constructor Description SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y)Deprecated.Use ECCurve.createPoint to construct pointsSecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)Deprecated.per-point compression property will be removed, referECPoint.getEncoded(boolean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ECPointadd(ECPoint b)protected ECPointdetach()protected ECFieldElementdoubleProductFromSquares(ECFieldElement a, ECFieldElement b, ECFieldElement aSquared, ECFieldElement bSquared)protected ECFieldElementeight(ECFieldElement x)protected ECFieldElementfour(ECFieldElement x)ECPointnegate()protected ECFieldElementthree(ECFieldElement x)ECPointthreeTimes()ECPointtwice()ECPointtwicePlus(ECPoint b)protected ECFieldElementtwo(ECFieldElement x)-
Methods inherited from class org.bouncycastle.math.ec.ECPoint.AbstractFp
getCompressionYTilde, satisfiesCurveEquation, subtract
-
Methods inherited from class org.bouncycastle.math.ec.ECPoint
checkNormalized, createScaledPoint, equals, equals, getAffineXCoord, getAffineYCoord, getCurve, getCurveCoordinateSystem, getDetachedPoint, getEncoded, getEncoded, getInitialZCoords, getRawXCoord, getRawYCoord, getRawZCoords, getX, getXCoord, getY, getYCoord, getZCoord, getZCoords, hashCode, isCompressed, isInfinity, isNormalized, isValid, multiply, normalize, satisfiesCofactor, scaleX, scaleY, timesPow2, toString
-
-
-
-
Constructor Detail
-
SecP521R1Point
public SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y)
Deprecated.Use ECCurve.createPoint to construct pointsCreate a point which encodes with point compression.- Parameters:
curve- the curve to usex- affine x co-ordinatey- affine y co-ordinate
-
SecP521R1Point
public SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)
Deprecated.per-point compression property will be removed, referECPoint.getEncoded(boolean)Create a point that encodes with or without point compresion.- Parameters:
curve- the curve to usex- affine x co-ordinatey- affine y co-ordinatewithCompression- if true encode with point compression
-
-
Method Detail
-
threeTimes
public ECPoint threeTimes()
- Overrides:
threeTimesin classECPoint
-
two
protected ECFieldElement two(ECFieldElement x)
-
three
protected ECFieldElement three(ECFieldElement x)
-
four
protected ECFieldElement four(ECFieldElement x)
-
eight
protected ECFieldElement eight(ECFieldElement x)
-
doubleProductFromSquares
protected ECFieldElement doubleProductFromSquares(ECFieldElement a, ECFieldElement b, ECFieldElement aSquared, ECFieldElement bSquared)
-
-