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

Name

Description

cms

ContentInfo of type NID_pkcs7_data.

out

Destination BIO for the extracted content.

flags

Optional CMS content‐copy flags (for example CMS_TEXT).

Created with MrDocs