[#OCSP_RESPID_set_by_key_ex] = OCSP_RESPID_set_by_key_ex :mrdocs: Set a ResponderID to the SHA‐1 hash of `cert's` public key, with provider selection. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_RESPID_set_by_key_ex( xref:OCSP_RESPID.adoc[OCSP_RESPID]* respid, xref:X509.adoc[X509]* cert, xref:OSSL_LIB_CTX.adoc[OSSL_LIB_CTX]* libctx, char const* propq); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#