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

Name

Description

ctx

CMP context referencing the CMP server.

out

Receives a newly allocated stack of CA certificates; caller must free.

Created with MrDocs