X509_CRL_PRINT(3)

πŸ“¦ version 4.1.0, in opensuse-leap 16.0

✨ X509_CRL_PRINT ✨

okay bestie, so this is a manual page from the X509_CRL_PRINT(3) library functions family β€” it's giving "I read OpenSSL docs for fun" energy and honestly? iconic. πŸŽ€


🌸 NAME 🌸

X509_CRL_print, X509_CRL_print_fp β€” pretty-print a certificate revocation list

(Yes, "pretty-print" β€” it's not just printing, it's serving looks. πŸ’…)


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <openssl/x509.h>

int
X509_CRL_print(BIO *bio, X509_CRL *crl);

int
X509_CRL_print_fp(FILE *fp, X509_CRL *crl);

πŸ’– DESCRIPTION πŸ’–

X509_CRL_print() prints info contained in crl to bio in human-readable form, and the way it does it is honestly so organized. πŸ—‚οΈ Here's the order, no cap:

X509_CRL_print_fp() is similar to X509_CRL_print() except that it prints to fp. (Same vibes, different destination. 🫢)


πŸŽ€ RETURN VALUES πŸŽ€

These functions are intended to return 1 for success and 0 for error. That's it, that's the whole mood. βœ…βŒ


🌈 SEE ALSO 🌈

BIO_new(3), X509_CRL_new(3), X509_print_ex(3), X509_REVOKED_new(3)


πŸ‘‘ HISTORY πŸ‘‘

These functions first appeared in OpenSSL 0.9.2 and have been available since OpenBSD 2.6. So they're lowkey vintage at this point. πŸ•°οΈβœ¨


πŸ’€ BUGS πŸ’€

Most I/O errors are silently ignored. Even if the information printed is incomplete, these functions may return 1 anyway. 😭 That's not great, bestie.
If the version number is invalid, no information from the CRL is printed and the functions fail. So like… at least that one's honest. πŸ™ˆ

okay that's the whole page! huge shoutout to the Debian crew for putting this together back on July 19, 2021 β€” we 🫢 you. this has been your girl explaining X509_CRL_print(3), hope it ate, periodt. πŸ’œπŸŒΈ

πŸ“¦ where this page comes from