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

Module java.base
Package java.security.interfaces

# Interface ECPublicKey

All Superinterfaces:
  `ECKey`, `Key`, `PublicKey`, `Serializable`

public interface ECPublicKey extends PublicKey, ECKey
The interface to an elliptic curve (EC) public key.

Since:
  1.5
See Also:
  - `PublicKey`
  - `ECKey`
  - `ECPoint`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final long`
  `serialVersionUID`
  Deprecated.
  A `serialVersionUID` field in an interface is ineffectual.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ECPoint`
  `getW()`
  Returns the public point W.

  ### Methods declared in interface java.security.interfaces.ECKey

  `getParams`

  ### Methods declared in interface java.security.Key

  `getAlgorithm, getEncoded, getFormat`

- ## Field Details

  - ### serialVersionUID

    @Deprecated static final long serialVersionUID
    Deprecated.
    A `serialVersionUID` field in an interface is ineffectual. Do not use; no replacement.
    The class fingerprint that is set to indicate serialization compatibility.
    See Also:
      - Constant Field Values

- ## Method Details

  - ### getW

    ECPoint getW()
    Returns the public point W.
    Returns:
      the public point W.