Verify‐result callback invoked for each certificate during chain verification.

Synopsis

Declared in <openssl/x509_vfy.h>

typedef int(* X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX*);

Return Value

Non‐zero to continue/accept, or 0 to fail verification.

Parameters

Name

Description

ok

Current verification result (1 if OK so far, 0 if an error was recorded).

ctx

Store context describing the certificate under examination and any error.

Created with MrDocs