Write a CMS ContentInfo as a PEM CMS message, optionally streaming content from in.
Declared in <openssl/cms.h>
int
PEM_write_bio_CMS_stream(
BIO* out,
CMS_ContentInfo* cms,
BIO* in,
int flags);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| out | BIO that receives the PEM-encoded CMS. |
| cms | CMS structure to encode. |
| in | BIO supplying detached or streaming content when required by flags, or NULL. |
| flags | CMS_* flags controlling streaming and encoding behaviour. |