Verify a DSA signature over a message digest (deprecated).
Declared in <openssl/dsa.h>
[[deprecated]]
int
DSA_verify(
int type,
unsigned char const* dgst,
int dgst_len,
unsigned char const* sigbuf,
int siglen,
DSA* dsa);
Deprecated. Use of this entity is allowed but discouraged.
1 if the signature is valid, 0 if invalid, or -1 on error.
| Name | Description |
|---|---|
| type | Historical digest NID; ignored by modern implementations. |
| dgst | Digest octets that were signed. |
| dgst_len | Length of dgst in bytes. |
| sigbuf | DER-encoded DSA signature to verify. |
| siglen | Length of sigbuf in bytes. |
| dsa | DSA key containing the public key used for verification. |