Create a CMS Data contentInfo wrapping the octets read from in.

Synopsis

Declared in <openssl/cms.h>

CMS_ContentInfo*
CMS_data_create_ex(
    BIO* in,
    unsigned int flags,
    OSSL_LIB_CTX* libctx,
    char const* propq);

Return Value

New CMS_ContentInfo, or NULL on error; free with CMS_ContentInfo_free().

Parameters

Name

Description

in

BIO supplying the content bytes to embed.

flags

CMS_* flags (for example CMS_STREAM / CMS_PARTIAL).

libctx

Library context for algorithm fetches, or NULL for the default.

propq

Property query for provider algorithms, or NULL.

Created with MrDocs