Module java.base

Interface ECField

  • All Known Implementing Classes:
    ECFieldF2m, ECFieldFp

    public interface ECField
    This interface represents an elliptic curve (EC) finite field. All specialized EC fields must implements this interface.
    Since:
    1.5
    See Also:
    ECFieldFp, ECFieldF2m
    • Method Summary

      Modifier and Type Method Description
      int getFieldSize()
      Returns the field size in bits.
    • Method Detail

      • getFieldSize

        int getFieldSize()
        Returns the field size in bits. Note: For prime finite field ECFieldFp, size of prime p in bits is returned. For characteristic 2 finite field ECFieldF2m, m is returned.
        Returns:
        the field size in bits.