Stay organized with collections
Save and categorize content based on your preferences.
EdECKey
interface EdECKey
An interface for an elliptic curve public/private key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA). These keys are distinct from the keys represented by ECKey
, and they are intended for use with algorithms based on RFC 8032 such as the EdDSA Signature
algorithm. This interface allows access to the algorithm parameters associated with the key.
Summary
Public methods |
abstract NamedParameterSpec! |
Returns the algorithm parameters associated with the key.
|
Public methods
getParams
abstract fun getParams(): NamedParameterSpec!
Returns the algorithm parameters associated with the key.
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,["# EdECKey\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nEdECKey\n=======\n\n```\ninterface EdECKey\n```\n\n|---------------------------------------|\n| [java.security.interfaces.EdECKey](#) |\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [EdECPrivateKey](/reference/kotlin/java/security/interfaces/EdECPrivateKey), [EdECPublicKey](/reference/kotlin/java/security/interfaces/EdECPublicKey) |-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [EdECPrivateKey](/reference/kotlin/java/security/interfaces/EdECPrivateKey) | An interface for an elliptic curve private key as defined by [RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA)](https://tools.ietf.org/html/rfc8032). | | [EdECPublicKey](/reference/kotlin/java/security/interfaces/EdECPublicKey) | An interface for an elliptic curve public key as defined by [RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA)](https://tools.ietf.org/html/rfc8032). | |\n\nAn interface for an elliptic curve public/private key as defined by [RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA)](https://tools.ietf.org/html/rfc8032). These keys are distinct from the keys represented by `ECKey`, and they are intended for use with algorithms based on RFC 8032 such as the EdDSA `Signature` algorithm. This interface allows access to the algorithm parameters associated with the key.\n\nSummary\n-------\n\n| Public methods ||\n|------------------------------------------------------------------|-----------------------------------------------------------------------------------------|\n| abstract [NamedParameterSpec](../spec/NamedParameterSpec.html#)! | [getParams](#getParams())`()` Returns the algorithm parameters associated with the key. |\n\nPublic methods\n--------------\n\n### getParams\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getParams(): NamedParameterSpec!\n```\n\nReturns the algorithm parameters associated with the key.\n\n| Return ||\n|---------------------------------------------------------|--------------------------------------|\n| [NamedParameterSpec](../spec/NamedParameterSpec.html#)! | the associated algorithm parameters. |"]]