[#DSA_verify] = DSA_verify :mrdocs: Verify a DSA signature over a message digest (deprecated). == Synopsis Declared in `<openssl/dsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DSA_verify( int type, unsigned char const* dgst, int dgst_len, unsigned char const* sigbuf, int siglen, xref:DSA.adoc[DSA]* dsa); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 if the signature is valid, 0 if invalid, or ‐1 on error. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#