Create a CMS Data contentInfo wrapping the octets read from in.
Declared in <openssl/cms.h>
CMS_ContentInfo*
CMS_data_create_ex(
BIO* in,
unsigned int flags,
OSSL_LIB_CTX* libctx,
char const* propq);
New CMS_ContentInfo, or NULL on error; free with CMS_ContentInfo_free().
| 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. |