ECPoint.F2m, ECPoint.Fpcurve, multiplier, preCompInfo, withCompression, x, y| Constructor and Description |
|---|
F2m(ECCurve curve)
Deprecated.
use ECCurve.getInfinity()
Constructor for point at infinity
|
F2m(ECCurve curve,
ECFieldElement x,
ECFieldElement y) |
F2m(ECCurve curve,
ECFieldElement x,
ECFieldElement y,
boolean withCompression) |
| 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. |
private static void |
checkPoints(ECPoint a,
ECPoint b)
Check, if two
ECPoints can be added or subtracted. |
byte[] |
getEncoded() |
ECPoint |
negate() |
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 |
twice() |
assertECMultiplier, equals, getCurve, getX, getY, hashCode, isCompressed, isInfinity, multiply, setPreCompInfopublic F2m(ECCurve curve, ECFieldElement x, ECFieldElement y)
curve - base curvex - x pointy - y pointpublic F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)
curve - base curvex - x pointy - y pointwithCompression - true if encode with point compression.public F2m(ECCurve curve)
public byte[] getEncoded()
getEncoded in class ECPointprivate static void checkPoints(ECPoint a, ECPoint b)
ECPoints can be added or subtracted.a - The first ECPoint to check.b - The second ECPoint to check.java.lang.IllegalArgumentException - if a and b
cannot be added.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 + bpublic 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 - bCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.