[#OCSP_basic_add1_status] = OCSP_basic_add1_status :mrdocs: Append a SingleResponse with certificate status to a basic OCSP response. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:OCSP_SINGLERESP.adoc[OCSP_SINGLERESP]* OCSP_basic_add1_status( xref:OCSP_BASICRESP.adoc[OCSP_BASICRESP]* rsp, xref:OCSP_CERTID.adoc[OCSP_CERTID]* cid, int status, int reason, xref:ASN1_TIME.adoc[ASN1_TIME]* revtime, xref:ASN1_TIME.adoc[ASN1_TIME]* thisupd, xref:ASN1_TIME.adoc[ASN1_TIME]* nextupd); ---- == Return Value Internal OCSP_SINGLERESP pointer on success, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *rsp* | Basic response being constructed. | *cid* | CertID identifying the certificate (ownership transferred on success). | *status* | OCSP_CERTIFICATESTATUS_* value for the response. | *reason* | Revocation reason when `status` is revoked; otherwise ignored. | *revtime* | Revocation time when `status` is revoked; otherwise may be NULL. | *thisupd* | thisUpdate time for the SingleResponse. | *nextupd* | Optional nextUpdate time, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#