CMS_dataInit

Build a BIO chain that reads or writes the CMS content for cms.

Synopsis

Declared in <openssl/cms.h>

BIO*
CMS_dataInit(
    CMS_ContentInfo* cms,
    BIO* icont);

Return Value

BIO chain suitable for reading or writing content, or NULL on error.

Parameters

NameDescription
cmsContentInfo whose processing BIO chain is created.
icontOptional content BIO to push under the CMS filters; NULL allocates an appropriate content BIO.