Pin the expected CMP server certificate for response verification.
Synopsis
Declared in <openssl/cmp.h>
int
OSSL_CMP_CTX_set1_srvCert(
OSSL_CMP_CTX* ctx,
X509* cert);
Return Value
1 on success, 0 on error.
Parameters
Name |
Description |
ctx |
CMP context. |
cert |
Server certificate to trust directly, or NULL to clear. |
Created with MrDocs