Stay organized with collections
Save and categorize content based on your preferences.
ECPrivateKey
interface ECPrivateKey : ECKey, PrivateKey
The interface to an elliptic curve (EC) private key.
Summary
Constants |
static Long |
The class fingerprint that is set to indicate serialization compatibility.
|
Public methods |
abstract BigInteger! |
Returns the private value S.
|
Inherited functions |
From class ECKey
ECParameterSpec! |
getParams()
Returns the domain parameters associated with this key. The domain parameters are either explicitly specified or implicitly created during key generation.
|
|
Constants
serialVersionUID
static val serialVersionUID: Long
Deprecated: A serialVersionUID
field in an interface is ineffectual. Do not use; no replacement.
The class fingerprint that is set to indicate serialization compatibility.
Value: -7896394956925609184L
Public methods
getS
abstract fun getS(): BigInteger!
Returns the private value S.
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,["# ECPrivateKey\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nECPrivateKey\n============\n\n```\ninterface ECPrivateKey : ECKey, PrivateKey\n```\n\n|--------------------------------------------|\n| [java.security.interfaces.ECPrivateKey](#) |\n\nThe interface to an elliptic curve (EC) private key.\n\nSummary\n-------\n\n| Constants ||\n|-------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|\n| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | [serialVersionUID](#serialVersionUID:kotlin.Long) The class fingerprint that is set to indicate serialization compatibility. |\n\n| Public methods ||\n|-----------------------------------------------------|--------------------------------------------------|\n| abstract [BigInteger](../../math/BigInteger.html#)! | [getS](#getS())`()` Returns the private value S. |\n\n| Inherited functions ||\n|---|---|\n| From class [ECKey](/reference/kotlin/java/security/interfaces/ECKey) |---------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [ECParameterSpec](../spec/ECParameterSpec.html#)! | [getParams](/reference/kotlin/java/security/interfaces/ECKey#getParams())`()` Returns the domain parameters associated with this key. The domain parameters are either explicitly specified or implicitly created during key generation. \u003cbr /\u003e | ||\n\nConstants\n---------\n\n### serialVersionUID\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val serialVersionUID: Long\n```\n\n**Deprecated:** *A `serialVersionUID` field in an interface is ineffectual. Do not use; no replacement.*\n\nThe class fingerprint that is set to indicate serialization compatibility. \n\n Value: -7896394956925609184L\n\nPublic methods\n--------------\n\n### getS\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getS(): BigInteger!\n```\n\nReturns the private value S.\n\n| Return ||\n|--------------------------------------------|----------------------|\n| [BigInteger](../../math/BigInteger.html#)! | the private value S. |"]]