org.bouncycastle.math.ec
Class ECCurve.Fp
java.lang.Object
org.bouncycastle.math.ec.ECCurve
org.bouncycastle.math.ec.ECCurve.Fp
- Enclosing class:
- ECCurve
- public static class ECCurve.Fp
- extends ECCurve
Elliptic curve over Fp
Constructor Summary |
ECCurve.Fp(java.math.BigInteger q,
java.math.BigInteger a,
java.math.BigInteger b)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ECCurve.Fp
public ECCurve.Fp(java.math.BigInteger q,
java.math.BigInteger a,
java.math.BigInteger b)
getQ
public java.math.BigInteger getQ()
fromBigInteger
public ECFieldElement fromBigInteger(java.math.BigInteger x)
- Specified by:
fromBigInteger
in class ECCurve
decodePoint
public ECPoint decodePoint(byte[] encoded)
- Decode a point on this curve from its ASN.1 encoding. The different
encodings are taken account of, including point compression for
Fp (X9.62 s 4.2.1 pg 17).
- Specified by:
decodePoint
in class ECCurve
- Returns:
- The decoded point.
equals
public boolean equals(java.lang.Object anObject)
hashCode
public int hashCode()