ocsp_resp_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.
error_t ocspParseVersion(const uint8_t *data, size_t length, size_t *totalLength, OcspVersion *version)
Parse Version field.
Definition: ocsp_resp_parse.c:460
OID (Object Identifier)
error_t asn1DumpObject(const uint8_t *data, size_t length, uint_t level)
Display an ASN.1 data object.
Definition: asn1.c:706
error_t ocspParseHashAlgo(const uint8_t *data, size_t length, size_t *totalLength, OcspCertId *certId)
Parse HashAlgorithm structure.
Definition: ocsp_resp_parse.c:841
error_t ocspParseBasicResponse(const uint8_t *data, size_t length, OcspBasicResponse *basicResponse)
Parse BasicOCSPResponse structure.
Definition: ocsp_resp_parse.c:250
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
error_t ocspParseRevokedInfo(const uint8_t *data, size_t length, OcspRevokedInfo *revokedInfo)
Parse RevokedInfo structure.
Definition: ocsp_resp_parse.c:946
OcspSingleResponse responses[OCSP_MAX_RESPONSES]
Definition: ocsp_common.h:255
X.509 extension parsing.
OcspSingleExtensions singleExtensions
Definition: ocsp_common.h:229
int_t oidComp(const uint8_t *oid1, size_t oidLen1, const uint8_t *oid2, size_t oidLen2)
Compare object identifiers.
Definition: oid.c:103
error_t ocspParseTbsResponseData(const uint8_t *data, size_t length, size_t *totalLength, OcspTbsResponseData *tbsResponseData)
Parse TbsResponseData structure.
Definition: ocsp_resp_parse.c:348
error_t asn1ReadOid(const uint8_t *data, size_t length, Asn1Tag *tag)
Read an object identifier from the input stream.
Definition: asn1.c:218
error_t ocspParseResponseStatus(const uint8_t *data, size_t length, size_t *totalLength, OcspResponseStatus *status)
Parse ResponseStatus field.
Definition: ocsp_resp_parse.c:128
error_t asn1ReadOctetString(const uint8_t *data, size_t length, Asn1Tag *tag)
Read an octet string from the input stream.
Definition: asn1.c:190
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 ocspParseCerts(const uint8_t *data, size_t length, OcspCerts *certs)
Parse Certs structure.
Definition: ocsp_resp_parse.c:1042
error_t x509ParseName(const uint8_t *data, size_t length, size_t *totalLength, X509Name *name)
Parse Name structure.
Definition: x509_cert_parse.c:535
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
error_t ocspParseResponses(const uint8_t *data, size_t length, size_t *totalLength, OcspTbsResponseData *tbsResponseData)
Parse Responses structure.
Definition: ocsp_resp_parse.c:577
error_t asn1ReadInt32(const uint8_t *data, size_t length, Asn1Tag *tag, int32_t *value)
Read a 32-bit integer from the input stream.
Definition: asn1.c:285
error_t ocspParseCertStatus(const uint8_t *data, size_t length, size_t *totalLength, OcspSingleResponse *singleResponse)
Parse CertStatus structure.
Definition: ocsp_resp_parse.c:884
error_t ocspParseSingleResponse(const uint8_t *data, size_t length, size_t *totalLength, OcspSingleResponse *singleResponse)
Parse SingleResponse structure.
Definition: ocsp_resp_parse.c:631
error_t ocspParseResponse(const uint8_t *data, size_t length, OcspResponse *response)
Parse OCSPResponse structure.
Definition: ocsp_resp_parse.c:55
error_t ocspParseResponderId(const uint8_t *data, size_t length, size_t *totalLength, OcspResponderId *responderId)
Parse ResponderID structure.
Definition: ocsp_resp_parse.c:514
OCSP response parsing.
error_t x509ParseSignatureValue(const uint8_t *data, size_t length, size_t *totalLength, X509OctetString *signature)
Parse SignatureValue field.
Definition: x509_sign_parse.c:119
error_t ocspParseRevocationReason(const uint8_t *data, size_t length, X509CrlReasons *revocationReason)
Parse RevocationReason field.
Definition: ocsp_resp_parse.c:1002
error_t ocspParseNonceExtension(bool_t critical, const uint8_t *data, size_t length, X509OctetString *nonce)
Parse Nonce extension.
Definition: ocsp_resp_parse.c:1217
error_t ocspParseResponseBytes(const uint8_t *data, size_t length, OcspResponse *response)
Parse ResponseBytes structure.
Definition: ocsp_resp_parse.c:170
error_t ocspParseSingleExtensions(const uint8_t *data, size_t length, OcspSingleExtensions *singleExtensions)
Parse SingleExtensions structure.
Definition: ocsp_resp_parse.c:1152
error_t ocspParseCertId(const uint8_t *data, size_t length, size_t *totalLength, OcspCertId *certId)
Parse CertID structure.
Definition: ocsp_resp_parse.c:752
OcspExtensions responseExtensions
Definition: ocsp_common.h:256
error_t x509ParseSignatureAlgo(const uint8_t *data, size_t length, size_t *totalLength, X509SignAlgoId *signatureAlgo)
Parse SignatureAlgorithm structure.
Definition: x509_sign_parse.c:53
error_t ocspParseResponseExtensions(const uint8_t *data, size_t length, OcspExtensions *responseExtensions)
Parse ResponseExtensions structure.
Definition: ocsp_resp_parse.c:1071
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.
ASN.1 (Abstract Syntax Notation One)