EVP_PKEY_get0

Return the legacy low-level key pointer stored in an EVP_PKEY (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
void*
EVP_PKEY_get0(EVP_PKEY const* pkey);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Internal type-specific key pointer (for example RSA *), or NULL if unset; do not free.

Parameters

NameDescription
pkeyKey wrapper to query.