Class ECCurve.Fp
java.lang.Object
org.gudy.bouncycastle.math.ec.ECCurve
org.gudy.bouncycastle.math.ec.ECCurve.Fp
- Enclosing class:
ECCurve
Elliptic curve over Fp
-
Nested Class Summary
Nested classes/interfaces inherited from class ECCurve
ECCurve.F2m, ECCurve.Fp -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePoint(BigInteger x, BigInteger y, boolean withCompression) decodePoint(byte[] encoded) Decode a point on this curve from its ASN.1 encoding.booleanintgetQ()inthashCode()
-
Field Details
-
q
-
infinity
ECPoint.Fp infinity
-
-
Constructor Details
-
Fp
-
-
Method Details
-
getQ
-
getFieldSize
public int getFieldSize()- Specified by:
getFieldSizein classECCurve
-
fromBigInteger
- Specified by:
fromBigIntegerin classECCurve
-
createPoint
- Specified by:
createPointin classECCurve
-
decodePoint
Decode a point on this curve from its ASN.1 encoding. The different encodings are taken account of, including point compression forFp(X9.62 s 4.2.1 pg 17).- Specified by:
decodePointin classECCurve- Returns:
- The decoded point.
-
getInfinity
- Specified by:
getInfinityin classECCurve
-
equals
-
hashCode
-