OSSL_CMP_get1_caCerts

Request CA certificates from the CMP server via genm/genp and verify the response.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_get1_caCerts(
    OSSL_CMP_CTX* ctx,
    stack_st_X509** out);

Return Value

1 on success, 0 on error.

Parameters

NameDescription
ctxCMP context referencing the CMP server.
outReceives a newly allocated stack of CA certificates; caller must free.