Package org.bouncycastle.math.ec
Class ECPoint.F2m
- java.lang.Object
-
- org.bouncycastle.math.ec.ECPoint
-
- org.bouncycastle.math.ec.ECPoint.AbstractF2m
-
- org.bouncycastle.math.ec.ECPoint.F2m
-
- Enclosing class:
- ECPoint
public static class ECPoint.F2m extends ECPoint.AbstractF2m
Elliptic curve points over F2m
-
-
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 F2m(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 ECPoint
add(ECPoint b)
protected ECPoint
detach()
protected boolean
getCompressionYTilde()
ECFieldElement
getYCoord()
Returns the y-coordinate.ECPoint
negate()
ECPoint
twice()
ECPoint
twicePlus(ECPoint b)
-
Methods inherited from class org.bouncycastle.math.ec.ECPoint.AbstractF2m
satisfiesCurveEquation, satisfiesOrder, scaleX, scaleY, subtract, tau, tauPow
-
Methods inherited from class org.bouncycastle.math.ec.ECPoint
checkNormalized, createScaledPoint, equals, equals, getAffineXCoord, getAffineYCoord, getCurve, getCurveCoordinateSystem, getDetachedPoint, getEncoded, getEncoded, getInitialZCoords, getRawXCoord, getRawYCoord, getRawZCoords, getXCoord, getZCoord, getZCoords, hashCode, isCompressed, isInfinity, isNormalized, isValid, multiply, normalize, threeTimes, timesPow2, toString
-
-
-
-
Constructor Detail
-
F2m
public F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)
Deprecated.per-point compression property will be removed, referECPoint.getEncoded(boolean)
- Parameters:
curve
- base curvex
- x pointy
- y pointwithCompression
- true if encode with point compression.
-
-
Method Detail
-
getYCoord
public ECFieldElement getYCoord()
Description copied from class:ECPoint
Returns the y-coordinate. Caution: depending on the curve's coordinate system, this may not be the same value as in an affine coordinate system; use normalize() to get a point where the coordinates have their affine values, or use getAffineYCoord() if you expect the point to already have been normalized.
-
getCompressionYTilde
protected boolean getCompressionYTilde()
- Specified by:
getCompressionYTilde
in classECPoint
-
-