ASN1_CHOICE(OCSP_CERTSTATUS) = { ASN1_IMP(OCSP_CERTSTATUS, value.good, ASN1_NULL, 0), ASN1_IMP(OCSP_CERTSTATUS, value.revoked, OCSP_REVOKEDINFO, 1), ASN1_IMP(OCSP_CERTSTATUS, value.unknown, ASN1_NULL, 2) } ASN1_CHOICE_END(OCSP_CERTSTATUS);
ASN1_SEQUENCE(OCSP_CERTID) = { ASN1_SIMPLE(OCSP_CERTID, hashAlgorithm, X509_ALGOR), ASN1_SIMPLE(OCSP_CERTID, issuerNameHash, ASN1_OCTET_STRING), ASN1_SIMPLE(OCSP_CERTID, issuerKeyHash, ASN1_OCTET_STRING), ASN1_SIMPLE(OCSP_CERTID, serialNumber, ASN1_INTEGER) } ASN1_SEQUENCE_END(OCSP_CERTID);
ASN1_SEQUENCE(OCSP_REVOKEDINFO) = {	ASN1_SIMPLE(OCSP_REVOKEDINFO, revocationTime, ASN1_GENERALIZEDTIME),  	ASN1_EXP_OPT(OCSP_REVOKEDINFO, revocationReason, ASN1_ENUMERATED, 0)} ASN1_SEQUENCE_END(OCSP_REVOKEDINFO);IMPLEMENT_ASN1_FUNCTIONS(OCSP_REVOKEDINFO)ASN1_CHOICE(OCSP_CERTSTATUS) = {	ASN1_IMP(OCSP_CERTSTATUS, value.good, ASN1_NULL, 0),	ASN1_IMP(OCSP_CERTSTATUS, value.revoked, OCSP_REVOKEDINFO, 1),	ASN1_IMP(OCSP_CERTSTATUS, value.unknown, ASN1_NULL, 2)} ASN1_CHOICE_END(OCSP_CERTSTATUS);