CMS_final (3)
Leading comments
Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) Standard preamble: ========================================================================
NAME
CMS_final - finalise a CMS_ContentInfo structure
SYNOPSIS
#include <openssl/cms.h> int CMS_final(CMS_ContentInfo *cms, BIO *data, BIO *dcont, unsigned int flags);
DESCRIPTION
CMS_final() finalises the structure cms. It's purpose is to perform any operations necessary on cms (digest computation for example) and set the appropriate fields. The parameter data contains the content to be processed. The dcont parameter contains aBIO
to write content to after
processing: this is only used with detached data and will usually be set to
NULL.
NOTES
This function will normally be called when theCMS_PARTIAL
flag is used. It
should only be used when streaming is not performed because the streaming
I/O functions perform finalisation operations internally.