PEM_write_bio_CMS_stream(3ssl)

PEM_write_bio_CMS_stream3ssl

Output cms_contentinfo structure in pem format

Usage

 #include <openssl/cms.h>
 int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *data, int flags);

Overview

PEM_write_bio_CMS_stream() outputs a CMS_ContentInfo structure in PEM format.

It is otherwise identical to the function SMIME_write_CMS().

Notes

This function is effectively a version of the PEM_write_bio_CMS() supporting streaming.

Return values

PEM_write_bio_CMS_stream() returns 1 for success or 0 for failure.

Releases

8 releases since Debian 7 (Wheezy); the text changed 7 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13
  8. Arch

History

The PEM_write_bio_CMS_stream() function was added in OpenSSL 1.0.0.

From openssl 3.6.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.