[#OSSL_CMP_CTX_build_cert_chain] = OSSL_CMP_CTX_build_cert_chain :mrdocs: Build and store a certificate chain for the CMP signer certificate. == Synopsis Declared in `<openssl/cmp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_CMP_CTX_build_cert_chain( xref:OSSL_CMP_CTX.adoc[OSSL_CMP_CTX]* ctx, xref:X509_STORE.adoc[X509_STORE]* own_trusted, xref:stack_st_X509.adoc[stack_st_X509]* candidates); ---- == Return Value 1 on success, 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | CMP context. | *own_trusted* | Optional trust store for chain validation, or NULL to ignore verification errors. | *candidates* | Optional intermediate certificates to augment the untrusted set. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#