[#EVP_DigestSignFinal] = EVP_DigestSignFinal :mrdocs: Finalize a DigestSign operation and write the signature. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_DigestSignFinal( xref:EVP_MD_CTX.adoc[EVP_MD_CTX]* ctx, unsigned char* sigret, size_t* siglen); ---- == Return Value 1 on success, or 0 / a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Context initialized with EVP_DigestSignInit and updated with EVP_DigestSignUpdate. | *sigret* | Buffer receiving the signature, or NULL to only query the required length. | *siglen* | On entry, size of `sigret;` on exit, signature length (or required size). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#