Stay organized with collections
Save and categorize content based on your preferences.
ECField
interface ECField
Known Direct 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.
Summary
Public methods |
abstract Int |
Returns the field size in bits.
|
Public methods
getFieldSize
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. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# ECField\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nECField\n=======\n\n```\ninterface ECField\n```\n\n|---------------------------------|\n| [java.security.spec.ECField](#) |\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [ECFieldF2m](/reference/kotlin/java/security/spec/ECFieldF2m), [ECFieldFp](/reference/kotlin/java/security/spec/ECFieldFp) |---------------------------------------------------------------|------------------------------------------------------------------------------------| | [ECFieldF2m](/reference/kotlin/java/security/spec/ECFieldF2m) | This immutable class defines an elliptic curve (EC) characteristic 2 finite field. | | [ECFieldFp](/reference/kotlin/java/security/spec/ECFieldFp) | This immutable class defines an elliptic curve (EC) prime finite field. | |\n\nThis interface represents an elliptic curve (EC) finite field. All specialized EC fields must implements this interface.\n\nSummary\n-------\n\n| Public methods ||\n|-------------------------------------------------------------------------------------|---------------------------------------------------------------------|\n| abstract [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getFieldSize](#getFieldSize())`()` Returns the field size in bits. |\n\nPublic methods\n--------------\n\n### getFieldSize\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getFieldSize(): Int\n```\n\nReturns 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.\n\n| Return ||\n|----------------------------------------------------------------------------|-------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | the field size in bits. |"]]