[#OCSP_single_get0_status] = OCSP_single_get0_status :mrdocs: Extract certificate status and related times from a SingleResponse. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_single_get0_status( xref:OCSP_SINGLERESP.adoc[OCSP_SINGLERESP]* single, int* reason, xref:ASN1_GENERALIZEDTIME.adoc[ASN1_GENERALIZEDTIME]** revtime, xref:ASN1_GENERALIZEDTIME.adoc[ASN1_GENERALIZEDTIME]** thisupd, xref:ASN1_GENERALIZEDTIME.adoc[ASN1_GENERALIZEDTIME]** nextupd); ---- == Return Value OCSP_CERTIFICATESTATUS_* value (GOOD, REVOKED, or UNKNOWN). == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#