[#DSA_do_sign] = DSA_do_sign :mrdocs: Sign a digest with a DSA private key, returning a DSA_SIG structure (deprecated). == Synopsis Declared in `<openssl/dsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:DSA_SIG.adoc[DSA_SIG]* DSA_do_sign( unsigned char const* dgst, int dlen, 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 Newly allocated DSA_SIG, or NULL on error; free with DSA_SIG_free(). == Parameters [cols="1,4"] |=== | Name| Description | *dgst* | Digest bytes to sign. | *dlen* | Length of `dgst` in bytes. | *dsa* | DSA key containing the private key used for signing. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#