ECField
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
ECFieldF2m |
This immutable class defines an elliptic curve (EC)
characteristic 2 finite field. |
ECFieldFp |
This immutable class defines an elliptic curve (EC) prime
finite field. |
|
This interface represents an elliptic curve (EC) finite field.
All specialized EC fields must implements this interface.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[null,null,["Last updated 2024-07-10 UTC."],[],["The `ECField` interface represents an elliptic curve (EC) finite field, which all specialized EC fields must implement. It defines a single method, `getFieldSize()`, which returns the field's size in bits. For prime finite fields (`ECFieldFp`), this is the size of the prime, and for characteristic 2 finite fields (`ECFieldF2m`), it is the value 'm'. These classes `ECFieldFp` and `ECFieldF2m` are known indirect subclasses of the interface.\n"],null,[]]