Return the new public or private key stored on the context.

Synopsis

Declared in <openssl/cmp.h>

EVP_PKEY*
OSSL_CMP_CTX_get0_newPkey(
    OSSL_CMP_CTX const* ctx,
    int priv);

Return Value

Internal key pointer, or NULL if unset.

Parameters

Name

Description

ctx

CMP context.

priv

Non‐zero to return the private key, zero for the public key.

Created with MrDocs