Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
X509_cmp, X509_NAME_cmp, X509_issuer_and_serial_cmp, X509_issuer_name_cmp, X509_subject_name_cmp, X509_CRL_cmp, X509_CRL_match — compare X.509 certificates and related valuesSYNOPSIS
#include <openssl/x509.h>X509_cmp(const X509 *a, const X509 *b);
X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b);
X509_issuer_and_serial_cmp(const X509 *a, const X509 *b);
X509_issuer_name_cmp(const X509 *a, const X509 *b);
X509_subject_name_cmp(const X509 *a, const X509 *b);
X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b);
X509_CRL_match(const X509_CRL *a, const X509_CRL *b);
DESCRIPTION
X509_cmp() compares two X.509 certificates using memcmp(3) on the SHA1 hashes of their canonical (DER) representations as generated with X509_digest(3).RETURN VALUES
All these functions return 0 to indicate a match or a non-zero value to indicate a mismatch.STANDARDS
RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile- section 4.1: Basic Certificate Fields
- section 5.1: CRL Fields