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

Methods

Modifier and Type Method and Description
int getFieldSize()

Returns the field size in bits.

Methods

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.

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/java/security/spec/ECField.html