ECField

  • ECField represents an elliptic curve's finite field, which must be implemented by all specialized EC fields.

  • Two known subclasses, ECFieldF2m and ECFieldFp, define characteristic 2 and prime finite fields, respectively.

  • The primary method, getFieldSize(), returns the field size in bits, representing either the size of the prime 'p' or 'm' depending on the field type.

public interface ECField
Known Indirect Subclasses

This interface represents an elliptic curve (EC) finite field. All specialized EC fields must implements this interface.

Public Method Summary

abstract int
getFieldSize()
Returns the field size in bits.

Public Methods

public abstract 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.