Added in API level 1

ECField

interface ECField
java.security.spec.ECField

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

Summary

Public methods
abstract Int

Returns the field size in bits.

Public methods

getFieldSize

Added in API level 1
abstract fun getFieldSize(): Int

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.

Return
Int the field size in bits.