Finalize a PKCS#7 structure by digesting content from a BIO and completing signatures or encryption.
1 on success, or 0 on failure.
| 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. |