Return the new public or private key stored on the context.
Declared in <openssl/cmp.h>
EVP_PKEY*
OSSL_CMP_CTX_get0_newPkey(
OSSL_CMP_CTX const* ctx,
int priv);
Internal key pointer, or NULL if unset.
| Name | Description |
|---|---|
| ctx | CMP context. |
| priv | Non-zero to return the private key, zero for the public key. |