Retrieve application‐specific data previously stored on an EVP_PKEY.

Synopsis

Declared in <openssl/evp.h>

void*
EVP_PKEY_get_ex_data(
    EVP_PKEY const* key,
    int idx);

Return Value

Stored pointer, or NULL if unset or on error.

Parameters

Name

Description

key

Key to query.

idx

Index previously used with EVP_PKEY_set_ex_data().

Created with MrDocs