OSSL_CMP_MSG_get0_certreq_publickey

Return the public key from the certificate template of a certificate-request message.

Synopsis

Declared in <openssl/cmp.h>

X509_PUBKEY*
OSSL_CMP_MSG_get0_certreq_publickey(OSSL_CMP_MSG const* msg);

Return Value

Public key from the template, or NULL if absent or on error.

Parameters

NameDescription
msgCMP certificate-request message (IR, CR, KUR, or similar).