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