[#OSSL_CMP_validate_cert_path] = OSSL_CMP_validate_cert_path :mrdocs: Validate that `cert` chains to a trust anchor in `trusted_store.` == Synopsis Declared in `<openssl/cmp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_CMP_validate_cert_path( xref:OSSL_CMP_CTX.adoc[OSSL_CMP_CTX] const* ctx, xref:X509_STORE.adoc[X509_STORE]* trusted_store, xref:X509.adoc[X509]* cert); ---- == Return Value 1 if the path validates, 0 if not, or ‐1 on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | CMP context (used for untrusted intermediates and callbacks). | *trusted_store* | Trust store containing acceptable anchors. | *cert* | Certificate to validate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#