libressl-i2d_CMS_bio_stream3
Output cms_contentinfo structure in ber format
Usage
Crypto Library (libcrypto, -lcrypto)
#include <openssl/cms.h>
int
i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *data, int flags);
Overview
i2d_CMS_bio_stream() outputs a CMS_ContentInfo structure in BER format.
It is otherwise identical to the function SMIME_write_CMS(3).
This function is effectively a version of i2d_CMS_bio(3) supporting streaming.
Return values
i2d_CMS_bio_stream() returns 1 for success or 0 for failure.