Duplicate an EVP_PKEY (not supported for ENGINE‐based or raw keys).

Synopsis

Declared in <openssl/evp.h>

EVP_PKEY*
EVP_PKEY_dup(EVP_PKEY* pkey);

Return Value

Newly allocated copy, or NULL on failure.

Parameters

Name

Description

pkey

Key to copy.

Created with MrDocs