DSAPrivateKey

  • DSAPrivateKey is the standard interface for a DSA private key, used in the Digital Signature Algorithm (DSA) as defined in NIST's FIPS-186.

  • It provides access to the private key value (x) and inherits methods for retrieving key parameters, algorithm name, encoding format, and serialization information.

  • DSAPrivateKey extends the DSAKey, PrivateKey, and Key interfaces, inheriting functionalities related to DSA keys, private keys, and general key management.

  • The interface includes a method to retrieve the private key value (getX()) and inherits methods for accessing DSA parameters, key algorithm, encoding, and destruction functionalities.

public interface DSAPrivateKey implements DSAKey PrivateKey

The standard interface to a DSA private key. DSA (Digital Signature Algorithm) is defined in NIST's FIPS-186.

Constant Summary

long serialVersionUID The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.

Inherited Constant Summary

Public Method Summary

abstract BigInteger
getX()
Returns the value of the private key, x.

Inherited Method Summary

Constants

public static final long serialVersionUID

The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.

Constant Value: 7776497482533790279

Public Methods

public abstract BigInteger getX ()

Returns the value of the private key, x.

Returns
  • the value of the private key, x.