OSSL_CMP_CTX_set1_untrusted

Set untrusted certificates used when validating CMP server messages.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_CTX_set1_untrusted(
    OSSL_CMP_CTX* ctx,
    stack_st_X509* certs);

Return Value

1 on success, 0 on error.

Parameters

NameDescription
ctxCMP context.
certsIntermediate certificate stack, or NULL to clear.