[#OSSL_CMP_CTX_set0_trustedStore] = OSSL_CMP_CTX_set0_trustedStore :mrdocs: Set the trusted certificate store used to authenticate the CMP server. == Synopsis Declared in `<openssl/cmp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_CMP_CTX_set0_trustedStore( xref:OSSL_CMP_CTX.adoc[OSSL_CMP_CTX]* ctx, xref:X509_STORE.adoc[X509_STORE]* store); ---- == Return Value 1 on success, 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | CMP context. | *store* | X509_STORE of trust anchors and optional CRLs, or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#