Bouncy Castle Cryptography 1.50

org.bouncycastle.math.ec
Class ECCurve.Fp

java.lang.Object
  extended by org.bouncycastle.math.ec.ECCurve
      extended by org.bouncycastle.math.ec.ECCurve.Fp
Enclosing class:
ECCurve

public static class ECCurve.Fp
extends ECCurve

Elliptic curve over Fp


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bouncycastle.math.ec.ECCurve
ECCurve.Config, ECCurve.F2m, ECCurve.Fp
 
Field Summary
 
Fields inherited from class org.bouncycastle.math.ec.ECCurve
a, b, coord, COORD_AFFINE, COORD_HOMOGENEOUS, COORD_JACOBIAN, COORD_JACOBIAN_CHUDNOVSKY, COORD_JACOBIAN_MODIFIED, COORD_LAMBDA_AFFINE, COORD_LAMBDA_PROJECTIVE, COORD_SKEWED, multiplier
 
Constructor Summary
  ECCurve.Fp(java.math.BigInteger q, java.math.BigInteger a, java.math.BigInteger b)
           
protected ECCurve.Fp(java.math.BigInteger q, java.math.BigInteger r, ECFieldElement a, ECFieldElement b)
           
 
Method Summary
protected  ECCurve cloneCurve()
           
protected  ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression)
           
protected  ECPoint decompressPoint(int yTilde, java.math.BigInteger X1)
           
 boolean equals(java.lang.Object anObject)
           
 ECFieldElement fromBigInteger(java.math.BigInteger x)
           
 int getFieldSize()
           
 ECPoint getInfinity()
           
 java.math.BigInteger getQ()
           
 int hashCode()
           
 ECPoint importPoint(ECPoint p)
           
 boolean supportsCoordinateSystem(int coord)
           
 
Methods inherited from class org.bouncycastle.math.ec.ECCurve
checkPoint, checkPoints, configure, createDefaultMultiplier, createPoint, createPoint, decodePoint, getA, getAllCoordinateSystems, getB, getCoordinateSystem, getMultiplier, getPreCompInfo, normalizeAll, setPreCompInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECCurve.Fp

public ECCurve.Fp(java.math.BigInteger q,
                  java.math.BigInteger a,
                  java.math.BigInteger b)

ECCurve.Fp

protected ECCurve.Fp(java.math.BigInteger q,
                     java.math.BigInteger r,
                     ECFieldElement a,
                     ECFieldElement b)
Method Detail

cloneCurve

protected ECCurve cloneCurve()
Specified by:
cloneCurve in class ECCurve

supportsCoordinateSystem

public boolean supportsCoordinateSystem(int coord)
Overrides:
supportsCoordinateSystem in class ECCurve

getQ

public java.math.BigInteger getQ()

getFieldSize

public int getFieldSize()
Specified by:
getFieldSize in class ECCurve

fromBigInteger

public ECFieldElement fromBigInteger(java.math.BigInteger x)
Specified by:
fromBigInteger in class ECCurve

createRawPoint

protected ECPoint createRawPoint(ECFieldElement x,
                                 ECFieldElement y,
                                 boolean withCompression)
Specified by:
createRawPoint in class ECCurve

importPoint

public ECPoint importPoint(ECPoint p)
Overrides:
importPoint in class ECCurve

decompressPoint

protected ECPoint decompressPoint(int yTilde,
                                  java.math.BigInteger X1)
Specified by:
decompressPoint in class ECCurve

getInfinity

public ECPoint getInfinity()
Specified by:
getInfinity in class ECCurve

equals

public boolean equals(java.lang.Object anObject)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Bouncy Castle Cryptography 1.50