ECPoint.F2m, ECPoint.Fpmultiplier, preCompInfo, withCompression| 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() |
equals, getCurve, getX, getY, hashCode, isCompressed, isInfinity, multiplypublic 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 © 2015. All rights reserved.