ECKey

  • ECKey is the interface for elliptic curve (EC) keys in Java security.

  • It includes sub-interfaces for EC private keys (ECPrivateKey) and EC public keys (ECPublicKey).

  • The getParams() method allows retrieval of the domain parameters associated with the EC key.

public interface ECKey
Known Indirect Subclasses

The interface to an elliptic curve (EC) key.

Public Method Summary

abstract ECParameterSpec
getParams()
Returns the domain parameters associated with this key.

Public Methods

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