Set a ResponderID to the SHA-1 hash of cert's public key, with provider selection.
Declared in <openssl/ocsp.h>
int
OCSP_RESPID_set_by_key_ex(
OCSP_RESPID* respid,
X509* cert,
OSSL_LIB_CTX* libctx,
char const* propq);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| respid | ResponderID to update. |
| cert | Certificate whose public key is hashed for the byKey identity. |
| libctx | Library context for algorithm fetches, or NULL for the default. |
| propq | Property query for provider selection, or NULL. |