W3cubDocs

/OpenJDK 21

Interface XECKey

All Known Subinterfaces:
XECPrivateKey, XECPublicKey
public interface XECKey
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.
Since:
11

Method Summary

Modifier and Type Method Description
AlgorithmParameterSpec getParams()
Returns the algorithm parameters associated with the key.

Method Details

getParams

AlgorithmParameterSpec getParams()
Returns the algorithm parameters associated with the key.
Returns:
the associated algorithm parameters

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/security/interfaces/XECKey.html