x509_crl_validate.c
X.509 certificate parsing.
error_t x509CheckRevokedCertificate(const X509CertInfo *certInfo, const X509CrlInfo *crlInfo)
Check whether a certificate is revoked.
Definition: x509_crl_validate.c:132
void convertUnixTimeToDate(time_t t, DateTime *date)
Convert Unix timestamp to date.
Definition: date_time.c:198
CRL (Certificate Revocation List) parsing.
error_t x509VerifySignature(const X509OctetString *tbsData, const X509SignAlgoId *signAlgoId, const X509SubjectPublicKeyInfo *publicKeyInfo, const X509OctetString *signature)
Certificate signature verification.
Definition: x509_sign_verify.c:78
bool_t x509CompareName(const uint8_t *name1, size_t nameLen1, const uint8_t *name2, size_t nameLen2)
Compare distinguished names.
Definition: x509_cert_validate.c:430
X509CrlEntryExtensions crlEntryExtensions
Definition: x509_common.h:1134
error_t x509ValidateCrl(const X509CrlInfo *crlInfo, const X509CertInfo *issuerCertInfo)
CRL validation.
Definition: x509_crl_validate.c:54
General definitions for cryptographic algorithms.
error_t x509ParseRevokedCertificate(const uint8_t *data, size_t length, size_t *totalLength, X509RevokedCertificate *revokedCertificate)
Parse RevokedCertificate field.
Definition: x509_crl_parse.c:384
X509IssuingDistrPoint issuingDistrPoint
Definition: x509_common.h:1186
CRL validation.
RSA/DSA/ECDSA/EdDSA signature verification.
X.509 certificate validation.
X509SubjectPublicKeyInfo subjectPublicKeyInfo
Definition: x509_common.h:1061
Debugging facilities.
X509GeneralName generalNames[X509_MAX_CERT_ISSUERS]
Definition: x509_common.h:1109
int_t compareDateTime(const DateTime *date1, const DateTime *date2)
Compare dates.
Definition: date_time.c:304