Verify the signature and optional certificate path of a basic OCSP response.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_basic_verify(
    OCSP_BASICRESP* bs,
    stack_st_X509* certs,
    X509_STORE* st,
    unsigned long flags);

Return Value

1 on successful verification, or 0 on failure.

Parameters

Name

Description

bs

Basic OCSP response to verify.

certs

Optional untrusted certificates used to locate or build the signer path, or NULL.

st

Trusted certificate store used for path validation.

flags

OCSP_* / X509 verify flags controlling verification behaviour.

Created with MrDocs