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

Module java.base
Package java.security.interfaces

# Interface ECKey

All Known Subinterfaces:
  `ECPrivateKey`, `ECPublicKey`

    public interface ECKey

The interface to an elliptic curve (EC) key.

Since:
  1.5

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `ECParameterSpec` | `getParams()` | Returns the domain parameters associated with this key.

- ## Method Details

  - ### getParams

    ECParameterSpec getParams()
    Returns the domain parameters associated with this key. The domain parameters are either explicitly specified or implicitly created during key generation.
    Returns:
      the associated domain parameters.