[#OSSL_CMP_CTX_get0_newPkey] = OSSL_CMP_CTX_get0_newPkey :mrdocs: Return the new public or private key stored on the context. == Synopsis Declared in `<openssl/cmp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:EVP_PKEY.adoc[EVP_PKEY]* OSSL_CMP_CTX_get0_newPkey( xref:OSSL_CMP_CTX.adoc[OSSL_CMP_CTX] const* ctx, int priv); ---- == Return Value Internal key pointer, or NULL if unset. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | CMP context. | *priv* | Non‐zero to return the private key, zero for the public key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#