Scroll to navigation

X509_CRL_PRINT(3) Library Functions Manual X509_CRL_PRINT(3)

NAME

X509_CRL_print, X509_CRL_print_fppretty-print a certificate revocation list

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

() prints information contained in crl to bio in human-readable form, in the following order:

() is similar to X509_CRL_print() except that it prints to fp.

RETURN VALUES

These functions are intended to return 1 for success and 0 for error.

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.

BUGS

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 Linux 6.4.0-150600.23.25-default