OSSL_CMP_CTX_set0_trustedStore

Set the trusted certificate store used to authenticate the CMP server.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_CTX_set0_trustedStore(
    OSSL_CMP_CTX* ctx,
    X509_STORE* store);

Return Value

1 on success, 0 on error.

Parameters

NameDescription
ctxCMP context.
storeX509_STORE of trust anchors and optional CRLs, or NULL to clear.