Bouncy Castle Cryptography 1.32

org.bouncycastle.math.ec
Class ECPoint.F2m

java.lang.Object
  extended by org.bouncycastle.math.ec.ECPoint
      extended by org.bouncycastle.math.ec.ECPoint.F2m
Enclosing class:
ECPoint

public static class ECPoint.F2m
extends ECPoint

Elliptic curve points over F2m


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bouncycastle.math.ec.ECPoint
ECPoint.F2m, ECPoint.Fp
 
Constructor Summary
ECPoint.F2m(ECCurve curve)
          Constructor for point at infinity
ECPoint.F2m(ECCurve curve, ECFieldElement x, ECFieldElement y)
           
ECPoint.F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)
           
 
Method Summary
 ECPoint add(ECPoint b)
           
 byte[] getEncoded()
           
 ECPoint multiply(java.math.BigInteger k)
           
 ECPoint subtract(ECPoint b)
           
 ECPoint twice()
           
 
Methods inherited from class org.bouncycastle.math.ec.ECPoint
equals, getCurve, getX, getY, hashCode, isInfinity
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECPoint.F2m

public ECPoint.F2m(ECCurve curve,
                   ECFieldElement x,
                   ECFieldElement y)
Parameters:
curve - base curve
x - x point
y - y point

ECPoint.F2m

public ECPoint.F2m(ECCurve curve,
                   ECFieldElement x,
                   ECFieldElement y,
                   boolean withCompression)
Parameters:
curve - base curve
x - x point
y - y point
withCompression - true if encode with point compression.

ECPoint.F2m

public ECPoint.F2m(ECCurve curve)
Constructor for point at infinity

Method Detail

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in class ECPoint

add

public ECPoint add(ECPoint b)
Specified by:
add in class ECPoint

subtract

public ECPoint subtract(ECPoint b)
Specified by:
subtract in class ECPoint

twice

public ECPoint twice()
Specified by:
twice in class ECPoint

multiply

public ECPoint multiply(java.math.BigInteger k)
Specified by:
multiply in class ECPoint

Bouncy Castle Cryptography 1.32