public interface ECKey

java.security.interfaces.ECKey



The interface to an elliptic curve (EC) key.

Summary

Public methods

abstract ECParameterSpec getParams()

Returns the domain parameters associated with this key.

Public methods

getParams

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
ECParameterSpec the associated domain parameters.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.