Interface ECPrivateKey

All Superinterfaces:
AsymmetricKey, Destroyable, ECKey, Key, PrivateKey, Serializable

public interface ECPrivateKey extends PrivateKey, ECKey
The interface to an elliptic curve (EC) private key.
See Also:
  • Field Details

    • serialVersionUID

      @Deprecated static final long serialVersionUID
      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:
  • Method Details

    • getS

      BigInteger getS()
      Returns the private value S.
      the private value S.
    • getParams

      default ECParameterSpec getParams()
      Returns the parameters associated with this key. The parameters are optional and may be either explicitly specified or implicitly created during key pair generation.
      Specified by:
      getParams in interface AsymmetricKey
      Specified by:
      getParams in interface ECKey
      Implementation Requirements:
      The default implementation returns null.
      the associated parameters, may be null