DSAParams

  • DSAParams interface defines a DSA key family, which is a set of parameters used with the Digital Signature Algorithm (DSA) as defined in NIST's FIPS-186.

  • This interface provides access to the DSA algorithm's key parameters: the base (g), the prime (p), and the subprime (q), using respective methods getG(), getP(), and getQ().

  • DSAParams is related to other security interfaces such as DSAKey, Key and Signature for digital signature operations.

public interface DSAParams
Known Indirect Subclasses

Interface to a DSA-specific set of key parameters, which defines a DSA key family. DSA (Digital Signature Algorithm) is defined in NIST's FIPS-186.

Public Method Summary

abstract BigInteger
getG()
Returns the base, g.
abstract BigInteger
getP()
Returns the prime, p.
abstract BigInteger
getQ()
Returns the subprime, q.

Public Methods

public abstract BigInteger getG ()

Returns the base, g.

Returns
  • the base, g.

public abstract BigInteger getP ()

Returns the prime, p.

Returns
  • the prime, p.

public abstract BigInteger getQ ()

Returns the subprime, q.

Returns
  • the subprime, q.