Create a CMS Data ContentInfo from bytes read from in.

Synopsis

Declared in <openssl/cms.h>

CMS_ContentInfo*
CMS_data_create(
    BIO* in,
    unsigned int flags);

Description

Equivalent to CMS_data_create_ex() with a NULL library context and property query.

Return Value

New CMS_ContentInfo of type NID_pkcs7_data, or NULL on error.

Parameters

Name

Description

in

BIO supplying the content octets.

flags

CMS flags; CMS_STREAM defers CMS_final() for streaming.

Created with MrDocs