OCSP_RESPID_set_by_key

Set a ResponderID to the SHA-1 hash of cert's public key (default libctx).

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_RESPID_set_by_key(
    OCSP_RESPID* respid,
    X509* cert);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
respidResponderID to update.
certCertificate whose public key is hashed for the byKey identity.