Build and store a certificate chain for the CMP signer certificate.
Synopsis
Declared in <openssl/cmp.h>
int
OSSL_CMP_CTX_build_cert_chain(
OSSL_CMP_CTX* ctx,
X509_STORE* own_trusted,
stack_st_X509* candidates);
Return Value
1 on success, 0 on error.
Parameters
Name |
Description |
ctx |
CMP context. |
own_trusted |
Optional trust store for chain validation, or NULL to ignore verification errors. |
candidates |
Optional intermediate certificates to augment the untrusted set. |
Created with MrDocs