public static class

ECCurve.Fp

extends ECCurve
java.lang.Object
   ↳ org.bouncycastle.math.ec.ECCurve
     ↳ org.bouncycastle.math.ec.ECCurve.Fp

Class Overview

Elliptic curve over Fp

Summary

Public Constructors
ECCurve.Fp(BigInteger q, BigInteger a, BigInteger b)
Public Methods
ECPoint createPoint(BigInteger x, BigInteger y, boolean withCompression)
ECPoint decodePoint(byte[] encoded)
Decode a point on this curve from its ASN.1 encoding.
boolean equals(Object anObject)
ECFieldElement fromBigInteger(BigInteger x)
int getFieldSize()
ECPoint getInfinity()
BigInteger getQ()
int hashCode()
[Expand]
Inherited Methods
From class org.bouncycastle.math.ec.ECCurve
From class java.lang.Object

Public Constructors

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

Public Methods

public ECPoint createPoint (BigInteger x, BigInteger y, boolean withCompression)

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).

Returns
  • The decoded point.

public boolean equals (Object anObject)

public ECFieldElement fromBigInteger (BigInteger x)

public int getFieldSize ()

public ECPoint getInfinity ()

public BigInteger getQ ()

public int hashCode ()