Extract certificate status and related times from a SingleResponse.
Synopsis
Declared in <openssl/ocsp.h>
int
OCSP_single_get0_status(
OCSP_SINGLERESP* single,
int* reason,
ASN1_GENERALIZEDTIME** revtime,
ASN1_GENERALIZEDTIME** thisupd,
ASN1_GENERALIZEDTIME** nextupd);
Return Value
OCSP_CERTIFICATESTATUS_* value (GOOD, REVOKED, or UNKNOWN).
Parameters
Name |
Description |
single |
SingleResponse to query. |
reason |
Optional output for the revocation reason when status is revoked; may be NULL. |
revtime |
Optional output for the revocation time when status is revoked; may be NULL. |
thisupd |
Optional output for thisUpdate; may be NULL. |
nextupd |
Optional output for nextUpdate; may be NULL. |
Created with MrDocs