Locate the signer certificate for a basic OCSP response.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_resp_get0_signer(
    OCSP_BASICRESP* bs,
    X509** signer,
    stack_st_X509* extra_certs);

Return Value

1 if a signer was found, or 0 otherwise.

Parameters

Name

Description

bs

Basic OCSP response whose ResponderID is matched.

signer

Receives an internal pointer to the signer certificate on success.

extra_certs

Optional additional certificates to search, or NULL.

Created with MrDocs