Package java.security.interfaces
Interface ECKey
- All Known Subinterfaces:
ECPrivateKey,ECPublicKey
- All Known Implementing Classes:
BCECPrivateKey,BCECPublicKey,JCEECPrivateKey,JCEECPublicKey,OpenSSLECPrivateKey,OpenSSLECPublicKey
public interface ECKey
The base interface for Elliptic Curve (EC) public or private keys.
-
Method Summary
Modifier and Type Method Description ECParameterSpecgetParams()Returns the EC key parameters.
-
Method Details
-
getParams
ECParameterSpec getParams()Returns the EC key parameters.- Returns:
- the EC key parameters.
-