Set the trusted certificate store used to authenticate the CMP server.
Declared in <openssl/cmp.h>
int
OSSL_CMP_CTX_set0_trustedStore(
OSSL_CMP_CTX* ctx,
X509_STORE* store);
1 on success, 0 on error.
| Name | Description |
|---|---|
| ctx | CMP context. |
| store | X509_STORE of trust anchors and optional CRLs, or NULL to clear. |