ECKey (Java SE 9 & JDK 9 )
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

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

- - ### Method Detail

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