[#OCSP_basic_sign_ctx] = OCSP_basic_sign_ctx :mrdocs: Sign a basic OCSP response using an initialized digest/sign context. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_basic_sign_ctx( xref:OCSP_BASICRESP.adoc[OCSP_BASICRESP]* brsp, xref:X509.adoc[X509]* signer, xref:EVP_MD_CTX.adoc[EVP_MD_CTX]* ctx, 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 | *brsp* | Basic response whose tbsResponseData is signed. | *signer* | Certificate identifying the responder. | *ctx* | Digest context already set up for signing with the responder key. | *certs* | Optional certificates to include with the response, or NULL. | *flags* | OCSP_* flags such as OCSP_NOCERTS or OCSP_RESPID_KEY. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#