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

Name

Description

ctx

CMP context.

store

X509_STORE of trust anchors and optional CRLs, or NULL to clear.

Created with MrDocs