Class ECPoint.Fp

  • Enclosing class:
    ECPoint

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

      • 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