OSSL_CMP_CTX_get0_validatedSrvCert

Return the validated CMP server certificate from the last transaction.

Synopsis

Declared in <openssl/cmp.h>

X509*
OSSL_CMP_CTX_get0_validatedSrvCert(OSSL_CMP_CTX const* ctx);

Return Value

Server certificate pointer owned by ctx, or NULL if unavailable.

Parameters

NameDescription
ctxCMP context.