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

Module java.base
Package java.security.interfaces

# 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