Stay organized with collections
Save and categorize content based on your preferences.
XECKey
public
interface
XECKey
java.security.interfaces.XECKey
|
Known indirect subclasses
XECPrivateKey |
An interface for an elliptic curve private key as defined by RFC 7748.
|
XECPublicKey |
An interface for an elliptic curve public key as defined by RFC 7748.
|
|
An interface for an elliptic curve public/private key as defined by
RFC 7748. These keys are distinct from the keys represented by
ECKey
, and they are intended for use with algorithms based on RFC
7748 such as the XDH KeyAgreement
algorithm. This interface allows
access to the algorithm parameters associated with the key.
Summary
Public methods
getParams
public abstract AlgorithmParameterSpec 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,["# XECKey\n\nAdded in [API level 33](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Methods](#pubmethods) \n\nXECKey\n======\n\n\n`\npublic\n\n\ninterface\nXECKey\n`\n\n\n`\n\n\n`\n\n|---------------------------------|\n| java.security.interfaces.XECKey |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [XECPrivateKey](/reference/java/security/interfaces/XECPrivateKey), [XECPublicKey](/reference/java/security/interfaces/XECPublicKey) |--------------------------------------------------------------------|------------------------------------------------------------------------| | [XECPrivateKey](/reference/java/security/interfaces/XECPrivateKey) | An interface for an elliptic curve private key as defined by RFC 7748. | | [XECPublicKey](/reference/java/security/interfaces/XECPublicKey) | An interface for an elliptic curve public key as defined by RFC 7748. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nAn interface for an elliptic curve public/private key as defined by\nRFC 7748. These keys are distinct from the keys represented by\n`ECKey`, and they are intended for use with algorithms based on RFC\n7748 such as the XDH `KeyAgreement` algorithm. This interface allows\naccess to the algorithm parameters associated with the key.\n\nSummary\n-------\n\n| ### Public methods ||\n|--------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract `[AlgorithmParameterSpec](/reference/java/security/spec/AlgorithmParameterSpec) | ` `[getParams](/reference/java/security/interfaces/XECKey#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 AlgorithmParameterSpec getParams ()\n```\n\nReturns the algorithm parameters associated\nwith the key.\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------------------------------------------------------------------------------|--------------------------------------------|\n| [AlgorithmParameterSpec](/reference/java/security/spec/AlgorithmParameterSpec) | the associated algorithm parameters \u003cbr /\u003e |"]]