[#PKCS7_set_digest] = PKCS7_set_digest :mrdocs: Set the message‐digest algorithm on a DigestedData PKCS#7 structure. == Synopsis Declared in `<openssl/pkcs7.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PKCS7_set_digest( xref:PKCS7.adoc[PKCS7]* p7, xref:EVP_MD.adoc[EVP_MD] const* md); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *p7* | PKCS#7 object of type digestedData. | *md* | Digest method to record in the DigestedData AlgorithmIdentifier. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#