Finalise a partially built CMS_ContentInfo (for example digest computation and field fill‐in).
Synopsis
Declared in <openssl/cms.h>
int
CMS_final(
CMS_ContentInfo* cms,
BIO* data,
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
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. |
Created with MrDocs