CMS_data

Write the payload of a CMS Data ContentInfo to a BIO.

Synopsis

Declared in <openssl/cms.h>

int
CMS_data(
    CMS_ContentInfo* cms,
    BIO* out,
    unsigned int flags);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
cmsContentInfo of type NID_pkcs7_data.
outDestination BIO for the extracted content.
flagsOptional CMS content-copy flags (for example CMS_TEXT).