[#PKCS7_add1_attrib_digest] = PKCS7_add1_attrib_digest :mrdocs: Add a PKCS#9 messageDigest authenticated attribute to a SignerInfo. == Synopsis Declared in `<openssl/pkcs7.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PKCS7_add1_attrib_digest( xref:PKCS7_SIGNER_INFO.adoc[PKCS7_SIGNER_INFO]* si, unsigned char const* md, int mdlen); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *si* | SignerInfo to update. | *md* | Digest octets to embed (copied into a new ASN1_OCTET_STRING). | *mdlen* | Length of `md` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#