Create a CMS Data ContentInfo from bytes read from in.
Declared in <openssl/cms.h>
CMS_ContentInfo*
CMS_data_create(
BIO* in,
unsigned int flags);
Equivalent to CMS_data_create_ex() with a NULL library context and property query.
New CMS_ContentInfo of type NID_pkcs7_data, or NULL on error.
| Name | Description |
|---|---|
| in | BIO supplying the content octets. |
| flags | CMS flags; CMS_STREAM defers CMS_final() for streaming. |