libressl-PEM_write_bio_PKCS7_stream3
Output pkcs7 structure in pem format
Usage
Crypto Library (libcrypto, -lcrypto)
#include <openssl/pkcs7.h>
int
PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *data, int flags);
Overview
PEM_write_bio_PKCS7_stream() outputs a PKCS7 structure in PEM format.
It is otherwise identical to the function SMIME_write_PKCS7(3).
This function is effectively a version of PEM_write_bio_PKCS7(3) supporting streaming.
Return values
Upon successful completion, 1 is returned; otherwise 0 is returned and an error code can be retrieved with ERR_get_error(3).