SHA1withDSA

This Signature class implements the Digital Signature Algorithm (DSA) as defined in FIPS PUB 186, which is also compatible with the Sun-provided Signature algorithm of the same name. This algorithm will perform a message digest (using SHA1) of the data to be signed, and then sign that data using DSA. The result of a sign operation using this algorithm will be a DER-encoded block containing a sequence of the two integer values r and s.

Initialization requires a SafeNet ProtectToolkit-J DSA key, either a private key for signing or a public key for signature verification. The section DSA Key describes how to generate SafeNet ProtectToolkit-J provider DSA keys.