public abstract class ECPoint extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ECPoint.F2m
Elliptic curve points over F2m
|
static class |
ECPoint.Fp
Elliptic curve points over Fp
|
Modifier and Type | Field and Description |
---|---|
protected old.org.bouncycastle.math.ec.ECMultiplier |
multiplier |
protected old.org.bouncycastle.math.ec.PreCompInfo |
preCompInfo |
protected boolean |
withCompression |
Modifier | Constructor and Description |
---|---|
protected |
ECPoint(ECCurve curve,
ECFieldElement x,
ECFieldElement y) |
Modifier and Type | Method and Description |
---|---|
abstract ECPoint |
add(ECPoint b) |
boolean |
equals(Object other) |
ECCurve |
getCurve() |
abstract byte[] |
getEncoded() |
ECFieldElement |
getX() |
ECFieldElement |
getY() |
int |
hashCode() |
boolean |
isCompressed() |
boolean |
isInfinity() |
ECPoint |
multiply(BigInteger k)
Multiplies this
ECPoint by the given number. |
abstract ECPoint |
negate() |
abstract ECPoint |
subtract(ECPoint b) |
abstract ECPoint |
twice() |
protected boolean withCompression
protected old.org.bouncycastle.math.ec.ECMultiplier multiplier
protected old.org.bouncycastle.math.ec.PreCompInfo preCompInfo
protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y)
public ECCurve getCurve()
public ECFieldElement getX()
public ECFieldElement getY()
public boolean isInfinity()
public boolean isCompressed()
public abstract byte[] getEncoded()
public abstract ECPoint negate()
public abstract ECPoint twice()
public ECPoint multiply(BigInteger k)
ECPoint
by the given number.k
- The multiplicator.k * this
.Copyright © 2015. All rights reserved.