X509_load_cert_file,
X509_load_crl_file,
X509_load_cert_crl_file —
read, decode, and cache certificates and CRLs
#include
<openssl/x509_vfy.h>
int
X509_load_cert_file(X509_LOOKUP
*ctx, const char *file, int
type);
int
X509_load_crl_file(X509_LOOKUP
*ctx, const char *file, int
type);
int
X509_load_cert_crl_file(X509_LOOKUP
*ctx, const char *file, int
type);
These functions return the number of objects loaded or 0 on
error.
X509_load_cert_file() first appeared in
SSLeay 0.8.0 and X509_load_crl_file() in SSLeay
0.9.0. These functions have been available since OpenBSD
2.4.
X509_load_cert_crl_file() first appeared
in OpenSSL 0.9.5 and has been available since OpenBSD
2.7.