[#EVP_PKEY_get_ex_data]
= EVP&lowbar;PKEY&lowbar;get&lowbar;ex&lowbar;data
:mrdocs:

Retrieve application&hyphen;specific data previously stored on an EVP&lowbar;PKEY&period;

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void*
EVP&lowbar;PKEY&lowbar;get&lowbar;ex&lowbar;data(
    xref:EVP_PKEY.adoc[EVP&lowbar;PKEY] const* key,
    int idx);
----

== Return Value

Stored pointer, or NULL if unset or on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| Key to query&period;
| *idx*
| Index previously used with EVP&lowbar;PKEY&lowbar;set&lowbar;ex&lowbar;data()&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
