[#OCSP_request_sign] = OCSP_request_sign :mrdocs: Sign an OCSP request with `signer` and `key.` == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_request_sign( xref:OCSP_REQUEST.adoc[OCSP_REQUEST]* req, xref:X509.adoc[X509]* signer, xref:EVP_PKEY.adoc[EVP_PKEY]* key, xref:EVP_MD.adoc[EVP_MD] const* dgst, xref:stack_st_X509.adoc[stack_st_X509]* certs, unsigned long flags); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *req* | Request whose TBSRequest is signed. | *signer* | Certificate identifying the requestor. | *key* | Private key corresponding to `signer.` | *dgst* | Digest algorithm for the signature, or NULL for a default. | *certs* | Optional certificates to include with the request, or NULL. | *flags* | OCSP_* flags such as OCSP_NOCERTS. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#