ECPoint.F2m, ECPoint.Fpcurve, multiplier, preCompInfo, withCompression, x, y| Constructor and Description |
|---|
Fp(ECCurve curve,
ECFieldElement x,
ECFieldElement y)
Create a point which encodes with point compression.
|
Fp(ECCurve curve,
ECFieldElement x,
ECFieldElement y,
boolean withCompression)
Create a point that encodes with or without point compresion.
|
| Modifier and Type | Method and Description |
|---|---|
ECPoint |
add(ECPoint b) |
byte[] |
getEncoded()
return the field element encoded with point compression.
|
ECPoint |
negate() |
ECPoint |
subtract(ECPoint b) |
ECPoint |
twice() |
assertECMultiplier, equals, getCurve, getX, getY, hashCode, isCompressed, isInfinity, multiply, setPreCompInfopublic Fp(ECCurve curve, ECFieldElement x, ECFieldElement y)
curve - the curve to usex - affine x co-ordinatey - affine y co-ordinatepublic Fp(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)
curve - the curve to usex - affine x co-ordinatey - affine y co-ordinatewithCompression - if true encode with point compressionpublic byte[] getEncoded()
getEncoded in class ECPointCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.