ECPrivateKey

  • ECPrivateKey represents an elliptic curve private key in Java security.

  • It provides access to the private value (S) and the associated domain parameters.

  • This interface inherits functionality from PrivateKey, ECKey, and other related interfaces.

  • ECPrivateKey supports encoding and serialization for persistence and interoperability.

  • The interface includes methods for retrieving key attributes like algorithm, format, and encoded representation.

public interface ECPrivateKey implements PrivateKey ECKey

The interface to an elliptic curve (EC) private key.

See Also

Constant Summary

long serialVersionUID The class fingerprint that is set to indicate serialization compatibility.

Inherited Constant Summary

Public Method Summary

abstract BigInteger
getS()
Returns the private value S.

Inherited Method Summary

Constants

public static final long serialVersionUID

The class fingerprint that is set to indicate serialization compatibility.

Constant Value: -7896394956925609184

Public Methods

public abstract BigInteger getS ()

Returns the private value S.

Returns
  • the private value S.