Sign an OCSP request with signer and key.
Declared in <openssl/ocsp.h>
int
OCSP_request_sign(
OCSP_REQUEST* req,
X509* signer,
EVP_PKEY* key,
EVP_MD const* dgst,
stack_st_X509* certs,
unsigned long flags);
1 on success, or 0 on failure.
| 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. |