Wrap a CMS ContentInfo in a filter BIO that writes indefinite‐length BER to out.

Synopsis

Declared in <openssl/cms.h>

BIO*
BIO_new_CMS(
    BIO* out,
    CMS_ContentInfo* cms);

Return Value

New filter BIO, or NULL on failure; free with BIO_free_all().

Parameters

Name

Description

out

Underlying BIO that receives the encoded CMS structure.

cms

CMS ContentInfo to encode through the filter.

Created with MrDocs