[#CMS_final] = CMS_final :mrdocs: Finalise a partially built CMS_ContentInfo (for example digest computation and field fill‐in). == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_final( xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* cms, xref:BIO.adoc[BIO]* data, xref:BIO.adoc[BIO]* dcont, unsigned int flags); ---- == Description Used when CMS_PARTIAL is set and streaming I/O is not performing finalisation internally. == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *cms* | ContentInfo created with CMS_PARTIAL that still needs finalisation. | *data* | BIO supplying content to process (for example for digesting). | *dcont* | BIO that receives processed content for detached data, or usually NULL. | *flags* | CMS flags controlling finalisation behaviour. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#