[#PKCS7_final] = PKCS7_final :mrdocs: Finalize a PKCS#7 structure by digesting content from a BIO and completing signatures or encryption. == Synopsis Declared in `<openssl/pkcs7.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PKCS7_final( xref:PKCS7.adoc[PKCS7]* p7, xref:BIO.adoc[BIO]* data, int flags); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *p7* | Partially constructed PKCS#7 object (for example from PKCS7_sign() with PKCS7_PARTIAL). | *data* | BIO supplying the content to process, or NULL when content is already embedded. | *flags* | PKCS7_* processing flags such as PKCS7_STREAM or PKCS7_DETACHED. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#