Stay organized with collections
Save and categorize content based on your preferences.
EdECKey
public
interface
EdECKey
java.security.interfaces.EdECKey
|
Known indirect subclasses
|
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
getParams
public abstract NamedParameterSpec getParams ()
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# EdECKey\n\nAdded in [API level 33](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Methods](#pubmethods) \n\nEdECKey\n=======\n\n\n`\npublic\n\n\ninterface\nEdECKey\n`\n\n\n`\n\n\n`\n\n|----------------------------------|\n| java.security.interfaces.EdECKey |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [EdECPrivateKey](/reference/java/security/interfaces/EdECPrivateKey), [EdECPublicKey](/reference/java/security/interfaces/EdECPublicKey) |----------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [EdECPrivateKey](/reference/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/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\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nAn interface for an elliptic curve public/private key as defined by\n[RFC 8032: Edwards-Curve\nDigital Signature Algorithm (EdDSA)](https://tools.ietf.org/html/rfc8032). These keys are distinct from the\nkeys represented by `ECKey`, and they are intended for use with\nalgorithms based on RFC 8032 such as the EdDSA `Signature` algorithm.\nThis interface allows access to the algorithm parameters associated with\nthe key.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract `[NamedParameterSpec](/reference/java/security/spec/NamedParameterSpec) | ` `[getParams](/reference/java/security/interfaces/EdECKey#getParams())`() ` Returns the algorithm parameters associated with the key. |\n\nPublic methods\n--------------\n\n### getParams\n\nAdded in [API level 33](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract NamedParameterSpec getParams ()\n```\n\nReturns the algorithm parameters associated with the key.\n\n\u003cbr /\u003e\n\n| Returns ||\n|------------------------------------------------------------------------|---------------------------------------------|\n| [NamedParameterSpec](/reference/java/security/spec/NamedParameterSpec) | the associated algorithm parameters. \u003cbr /\u003e |"]]