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