EdECKey (Java SE 26 & JDK 26)
Description: declaration: module: java.base, package: java.security.interfaces, interface: EdECKey
Keywords: java.security.interfaces.EdECKey interface

# Interface EdECKey

All Known Subinterfaces:
  `EdECPrivateKey, EdECPublicKey`

public 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.

Since:
  15
External Specifications
  - RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA)

- ## Method Summary

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

- ## Method Details

  - ### getParams

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