x509_crl_ext_parse.c
error_t x509ParseTime(const uint8_t *data, size_t length, size_t *totalLength, DateTime *dateTime)
Parse UTCTime or GeneralizedTime field.
Definition: x509_cert_parse.c:1021
X.509 certificate parsing.
CRL extension parsing.
OID (Object Identifier)
error_t x509ParseCrlExtensions(const uint8_t *data, size_t length, size_t *totalLength, X509CrlExtensions *crlExtensions)
Parse CRL extensions.
Definition: x509_crl_ext_parse.c:57
CRL (Certificate Revocation List) parsing.
const uint8_t X509_ISSUING_DISTR_POINT_OID[3]
Definition: x509_common.c:99
error_t asn1ReadTag(const uint8_t *data, size_t length, Asn1Tag *tag)
Read an ASN.1 tag from the input stream.
Definition: asn1.c:52
X.509 extension parsing.
error_t x509ParseCrlEntryExtensions(const uint8_t *data, size_t length, size_t *totalLength, X509CrlEntryExtensions *crlEntryExtensions)
Parse CRL entry extensions.
Definition: x509_crl_ext_parse.c:391
int_t oidComp(const uint8_t *oid1, size_t oidLen1, const uint8_t *oid2, size_t oidLen2)
Compare object identifiers.
Definition: oid.c:103
X509DeltaCrlIndicator deltaCrlIndicator
Definition: x509_common.h:1185
bool_t onlyContainsUserCerts
Definition: x509_common.h:1169
const uint8_t X509_DELTA_CRL_INDICATOR_OID[3]
Definition: x509_common.c:97
error_t x509CheckDuplicateExtension(const uint8_t *oid, size_t oidLen, const uint8_t *data, size_t length)
Check whether the specified extension is a duplicate.
Definition: x509_cert_ext_parse.c:1555
error_t x509ParseExtension(const uint8_t *data, size_t length, size_t *totalLength, X509Extension *extension)
Parse X.509 certificate extension.
Definition: x509_cert_ext_parse.c:267
X509InvalidityDate invalidityDate
Definition: x509_common.h:1121
error_t x509ParseIssuingDistrPoint(bool_t critical, const uint8_t *data, size_t length, X509IssuingDistrPoint *issuingDistrPoint)
Parse IssuingDistributionPoint extension.
Definition: x509_crl_ext_parse.c:283
General definitions for cryptographic algorithms.
error_t x509ParseAuthKeyId(bool_t critical, const uint8_t *data, size_t length, X509AuthKeyId *authKeyId)
Parse AuthorityKeyIdentifier extension.
Definition: x509_cert_ext_parse.c:939
const uint8_t X509_CERTIFICATE_ISSUER_OID[3]
Definition: x509_common.c:101
error_t x509ParseDeltaCrlIndicator(bool_t critical, const uint8_t *data, size_t length, X509DeltaCrlIndicator *deltaCrlIndicator)
Parse DeltaCRLIndicator extension.
Definition: x509_crl_ext_parse.c:241
bool_t onlyContainsAttributeCerts
Definition: x509_common.h:1173
X509IssuingDistrPoint issuingDistrPoint
Definition: x509_common.h:1186
error_t x509ParseReasonCode(bool_t critical, const uint8_t *data, size_t length, X509CrlReason *reasonCode)
Parse ReasonCode entry extension.
Definition: x509_crl_ext_parse.c:501
__weak_func error_t x509ParseUnknownCrlExtension(const uint8_t *oid, size_t oidLen, bool_t critical, const uint8_t *data, size_t dataLen, X509CrlExtensions *crlExtensions)
Parse unknown CRL extension.
Definition: x509_crl_ext_parse.c:652
error_t x509ParseInvalidityDate(bool_t critical, const uint8_t *data, size_t length, X509InvalidityDate *invalidityDate)
Parse InvalidityDate entry extension.
Definition: x509_crl_ext_parse.c:548
error_t x509ParseCrlNumber(bool_t critical, const uint8_t *data, size_t length, X509CrlNumber *crlNumber)
Parse CRLNumber extension.
Definition: x509_crl_ext_parse.c:199
error_t x509ParseGeneralName(const uint8_t *data, size_t length, size_t *totalLength, X509GeneralName *generalName)
Parse GeneralName field.
Definition: x509_cert_parse.c:855
error_t asn1ReadSequence(const uint8_t *data, size_t length, Asn1Tag *tag)
Read an ASN.1 sequence from the input stream.
Definition: asn1.c:163
error_t asn1CheckTag(const Asn1Tag *tag, bool_t constructed, uint_t objClass, uint_t objType)
Enforce the type of a specified tag.
Definition: asn1.c:653
Debugging facilities.
error_t x509ParseCertificateIssuer(bool_t critical, const uint8_t *data, size_t length, X509CertificateIssuer *certificateIssuer)
Parse CertificateIssuer entry extension.
Definition: x509_crl_ext_parse.c:577
ASN.1 (Abstract Syntax Notation One)
X509GeneralName generalNames[X509_MAX_CERT_ISSUERS]
Definition: x509_common.h:1109