de.flexiprovider.common.math.ellipticcurves
Class EllipticCurveGFP

java.lang.Object
  |
  +--de.flexiprovider.common.math.ellipticcurves.EllipticCurve
        |
        +--de.flexiprovider.common.math.ellipticcurves.EllipticCurveGFP

public class EllipticCurveGFP
extends EllipticCurve

This class holds elliptic curves over prime fields GF (p). The equation for such a curve is:

E: y2 = x3 + ax + b.

a and b are stored in FlexiBigInt instances mA and mB, respectively.

Author:
Birgit Henhapl
See Also:
EllipticCurve

Fields inherited from class de.flexiprovider.common.math.ellipticcurves.EllipticCurve
mA, mB, mQ
 
Constructor Summary
EllipticCurveGFP(GFPElement a, GFPElement b, FlexiBigInt p)
          Constructs an elliptic curve E with the specified parameters a and b in short Weierstrass normal form in projective representation over the prime field with the specified characteristic.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class de.flexiprovider.common.math.ellipticcurves.EllipticCurve
equals, getA, getB, getQ, hashCode
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EllipticCurveGFP

public EllipticCurveGFP(GFPElement a,
                        GFPElement b,
                        FlexiBigInt p)
Constructs an elliptic curve E with the specified parameters a and b in short Weierstrass normal form in projective representation over the prime field with the specified characteristic.
Parameters:
a - curve parameter a
b - curve parameter b
p - characteristic of the underlying prime field
See Also:
GFPElement
Method Detail

toString

public final java.lang.String toString()
Overrides:
toString in class EllipticCurve
Returns:
a human readable form of this elliptic curve