Request CA certificates from the CMP server via genm/genp and verify the response.
Declared in <openssl/cmp.h>
int
OSSL_CMP_get1_caCerts(
OSSL_CMP_CTX* ctx,
stack_st_X509** out);
1 on success, 0 on error.
| Name | Description |
|---|---|
| ctx | CMP context referencing the CMP server. |
| out | Receives a newly allocated stack of CA certificates; caller must free. |