[#OCSP_RESPID_set_by_key] = OCSP_RESPID_set_by_key :mrdocs: Set a ResponderID to the SHA‐1 hash of `cert's` public key (default libctx). == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_RESPID_set_by_key( xref:OCSP_RESPID.adoc[OCSP_RESPID]* respid, xref:X509.adoc[X509]* cert); ---- == 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#