W3cubDocs

/OpenJDK 21

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:

Method Summary

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

Method Details

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, 2023, 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/en/java/javase/21/docs/api/java.base/java/security/spec/ECField.html