[#DSA_do_verify] = DSA_do_verify :mrdocs: Verify a DSA signature against a digest using a DSA_SIG structure (deprecated). == Synopsis Declared in `<openssl/dsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DSA_do_verify( unsigned char const* dgst, int dgst_len, xref:DSA_SIG.adoc[DSA_SIG]* sig, 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 | *dgst* | Digest bytes that were signed. | *dgst_len* | Length of `dgst` in bytes. | *sig* | Signature containing r and s. | *dsa* | DSA public key (and parameters) used for verification. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#