public static class ECPoint.F2m extends ECPoint.AbstractF2m
ECPoint.AbstractF2m, ECPoint.AbstractFp, ECPoint.F2m, ECPoint.Fp
curve, EMPTY_ZS, preCompTable, withCompression, x, y, zs
Constructor and Description |
---|
F2m(ECCurve curve,
ECFieldElement x,
ECFieldElement y)
Deprecated.
Use ECCurve.createPoint to construct points
|
F2m(ECCurve curve,
ECFieldElement x,
ECFieldElement y,
boolean withCompression)
Deprecated.
per-point compression property will be removed, refer
ECPoint.getEncoded(boolean) |
Modifier and Type | Method and Description |
---|---|
ECPoint |
add(ECPoint b) |
ECPoint.F2m |
addSimple(ECPoint.F2m b)
Adds another
ECPoints.F2m to this without
checking if both points are on the same curve. |
protected ECPoint |
detach() |
protected boolean |
getCompressionYTilde() |
ECFieldElement |
getYCoord()
Returns the y-coordinate.
|
ECPoint |
negate() |
ECPoint |
scaleX(ECFieldElement scale) |
ECPoint |
scaleY(ECFieldElement scale) |
ECPoint |
subtract(ECPoint b) |
ECPoint.F2m |
subtractSimple(ECPoint.F2m b)
Subtracts another
ECPoints.F2m from this
without checking if both points are on the same curve. |
ECPoint.F2m |
tau() |
ECPoint |
twice() |
ECPoint |
twicePlus(ECPoint b) |
satisfiesCurveEquation
checkNormalized, createScaledPoint, equals, equals, getAffineXCoord, getAffineYCoord, getCurve, getCurveCoordinateSystem, getDetachedPoint, getEncoded, getEncoded, getInitialZCoords, getRawXCoord, getRawYCoord, getRawZCoords, getX, getXCoord, getY, getZCoord, getZCoords, hashCode, isCompressed, isInfinity, isNormalized, isValid, multiply, normalize, satisfiesCofactor, threeTimes, timesPow2, toString
public F2m(ECCurve curve, ECFieldElement x, ECFieldElement y)
curve
- base curvex
- x pointy
- y pointpublic F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)
ECPoint.getEncoded(boolean)
curve
- base curvex
- x pointy
- y pointwithCompression
- true if encode with point compression.public ECFieldElement getYCoord()
ECPoint
public ECPoint scaleX(ECFieldElement scale)
public ECPoint scaleY(ECFieldElement scale)
protected boolean getCompressionYTilde()
getCompressionYTilde
in class ECPoint
public ECPoint.F2m addSimple(ECPoint.F2m b)
ECPoints.F2m
to this
without
checking if both points are on the same curve. Used by multiplication
algorithms, because there all points are a multiple of the same point
and hence the checks can be omitted.b
- The other ECPoints.F2m
to add to
this
.this + b
public ECPoint.F2m subtractSimple(ECPoint.F2m b)
ECPoints.F2m
from this
without checking if both points are on the same curve. Used by
multiplication algorithms, because there all points are a multiple
of the same point and hence the checks can be omitted.b
- The other ECPoints.F2m
to subtract from
this
.this - b
public ECPoint.F2m tau()
Copyright © 2016 BouncyCastle.org. All rights reserved.