DSAPublicKey

  • DSAPublicKey interface provides access to the public key used in the Digital Signature Algorithm (DSA), as defined in NIST's FIPS-186.

  • It allows retrieval of the public key value (y) and DSA-specific parameters.

  • This interface inherits methods for getting the algorithm name, encoded key, and encoding format from the Key interface.

  • It extends the DSAKey and PublicKey interfaces, providing a specialized type for DSA public keys within the Java security framework.

  • serialVersionUID ensures serialization compatibility with previous versions of the class.

public interface DSAPublicKey implements DSAKey PublicKey

The interface to a DSA public 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
getY()
Returns the value of the public key, y.

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: 1234526332779022332

Public Methods

public abstract BigInteger getY ()

Returns the value of the public key, y.

Returns
  • the value of the public key, y.