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

Name

Description

cms

ContentInfo whose processing BIO chain is created.

icont

Optional content BIO to push under the CMS filters; NULL allocates an appropriate content BIO.

Created with MrDocs