LIBRESSL-PEM_WRITE_BIO_PKCS7_STREAM(3)

πŸ“¦ version 4.4.0, in alpine 3.24, arch rolling

πŸ’– PEM_WRITE_BIO_PKCS7_STRE(3) β€” Library Functions Manual, but make it cute πŸ’–

okay so bestie, this page is literally the PEM_write_bio_PKCS7_stream(3) moment β€” from the Library Functions Manual (yes, the header is right there being all PEM_WRITE_BIO_PKCS7_STRE(3), don't worry about the truncation vibe 😭). It's giving PKCS7 structure, but PEM format and streaming. Let's go 🫢


🌸 NAME 🌸

PEM_write_bio_PKCS7_stream β€” output PKCS7 structure in PEM format.


✨ SYNOPSIS ✨

library β€œlibcrypto” #include <openssl/pkcs7.h>

int
PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *data, int flags);

πŸŽ€ DESCRIPTION πŸŽ€

okay so PEM_write_bio_PKCS7_stream() outputs a PKCS7 structure in PEM format. That's the whole main character move πŸ’….

It is otherwise identical to the function SMIME_write_PKCS7(3). Periodt.

This function is effectively a version of PEM_write_bio_PKCS7(3) supporting streaming. No cap β€” streaming support is the whole little upgrade here ✨.


πŸ’œ RETURN VALUES πŸ’œ

  • Upon successful completion, 1 is returned ✨
  • otherwise 0 is returned and an error code can be retrieved with ERR_get_error(3) 😭

πŸ¦‹ SEE ALSO πŸ¦‹


🌈 HISTORY 🌈

PEM_write_bio_PKCS7_stream() first appeared in OpenSSL 1.0.0 and has been available since OpenBSD 4.9. iconic behavior from across the years πŸ‘‘


That's the whole page, bestie πŸ’– β€” this one's from the Debian edition, dated June 8, 2025, for PEM_WRITE_BIO_PKCS7_STREAM(3). mwah 🫢

πŸ“¦ where this page comes from