Validate that cert chains to a trust anchor in trusted_store.
Synopsis
Declared in <openssl/cmp.h>
int
OSSL_CMP_validate_cert_path(
OSSL_CMP_CTX const* ctx,
X509_STORE* trusted_store,
X509* cert);
Return Value
1 if the path validates, 0 if not, or ‐1 on error.
Parameters
Name |
Description |
ctx |
CMP context (used for untrusted intermediates and callbacks). |
trusted_store |
Trust store containing acceptable anchors. |
cert |
Certificate to validate. |
Created with MrDocs