Class ECPoint.Fp

java.lang.Object
org.gudy.bouncycastle.math.ec.ECPoint
org.gudy.bouncycastle.math.ec.ECPoint.Fp
Enclosing class:
ECPoint

public static class ECPoint.Fp extends ECPoint
Elliptic curve points over Fp
  • Constructor Details

    • Fp

      public Fp(ECCurve curve, ECFieldElement x, ECFieldElement y)
      Create a point which encodes with point compression.
      Parameters:
      curve - the curve to use
      x - affine x co-ordinate
      y - affine y co-ordinate
    • Fp

      public Fp(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)
      Create a point that encodes with or without point compresion.
      Parameters:
      curve - the curve to use
      x - affine x co-ordinate
      y - affine y co-ordinate
      withCompression - if true encode with point compression
  • Method Details