| X509_CRL_PRINT(3) | Library Functions Manual | X509_CRL_PRINT(3) |
X509_CRL_print,
X509_CRL_print_fp —
pretty-print a certificate revocation list
#include
<openssl/x509.h>
int
X509_CRL_print(BIO *bio,
X509_CRL *crl);
int
X509_CRL_print_fp(FILE *fp,
X509_CRL *crl);
X509_CRL_print()
prints information contained in crl to
bio in human-readable form, in the following
order:
X509_CRL_print_fp()
is similar to X509_CRL_print() except that it prints
to fp.
These functions are intended to return 1 for success and 0 for error.
BIO_new(3), X509_CRL_new(3), X509_print_ex(3), X509_REVOKED_new(3)
These functions first appeared in OpenSSL 0.9.2 and have been available since OpenBSD 2.6.
Most I/O errors are silently ignored. Even if the information printed is incomplete, these functions may return 1 anyway.
If the version number is invalid, no information from the CRL is printed and the functions fail.
| July 19, 2021 | openbsd |