ocsp_req_format.c
error_t ocspFormatRequest(const OcspRequest *request, uint8_t *output, size_t *written)
Format OCSPRequest structure.
Definition: ocsp_req_format.c:51
error_t ocspFormatHashAlgo(const OcspCertId *certId, uint8_t *output, size_t *written)
Format HashAlgorithm structure.
Definition: ocsp_req_format.c:417
error_t ocspFormatRequestExtensions(const OcspExtensions *extensions, uint8_t *output, size_t *written)
Format RequestExtensions structure.
Definition: ocsp_req_format.c:497
error_t ocspFormatVersion(OcspVersion version, uint8_t *output, size_t *written)
Format Version field.
Definition: ocsp_req_format.c:167
error_t ocspFormatSingleRequest(const OcspSingleRequest *singleRequest, uint8_t *output, size_t *written)
Format Request structure.
Definition: ocsp_req_format.c:269
error_t ocspFormatRequestList(const OcspSingleRequest *requestList, uint_t numRequests, uint8_t *output, size_t *written)
Format RequestList structure.
Definition: ocsp_req_format.c:210
OcspSingleRequest requestList[OCSP_MAX_REQUESTS]
Definition: ocsp_common.h:190
error_t ocspFormatCertId(const OcspCertId *certId, uint8_t *output, size_t *written)
Format CertID structure.
Definition: ocsp_req_format.c:311
error_t asn1WriteTag(Asn1Tag *tag, bool_t reverse, uint8_t *data, size_t *written)
Write an ASN.1 tag.
Definition: asn1.c:334
error_t ocspFormatNonceExtension(const X509OctetString *nonce, uint8_t *output, size_t *written)
Format Nonce extension.
Definition: ocsp_req_format.c:568
OCSP request formatting.
error_t asn1WriteInt32(int32_t value, bool_t reverse, uint8_t *data, size_t *written)
Write a 32-bit integer to the output stream.
Definition: asn1.c:495
error_t ocspFormatTbsRequest(const OcspTbsRequest *tbsRequest, uint8_t *output, size_t *written)
Format TBSRequest structure.
Definition: ocsp_req_format.c:93
Debugging facilities.
ASN.1 (Abstract Syntax Notation One)