[#EVP_KEYMGMT_fetch]
= EVP&lowbar;KEYMGMT&lowbar;fetch
:mrdocs:

Fetch a key&hyphen;management implementation from providers&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:EVP_KEYMGMT.adoc[EVP&lowbar;KEYMGMT]*
EVP&lowbar;KEYMGMT&lowbar;fetch(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* ctx,
    char const* algorithm,
    char const* properties);
----

== Return Value

Fetched EVP&lowbar;KEYMGMT, or NULL on error&semi; free with EVP&lowbar;KEYMGMT&lowbar;free&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Library context to search, or NULL for the default&period;
| *algorithm*
| Algorithm name such as &quot;RSA&quot; or &quot;EC&quot;&period;
| *properties*
| Property query string, or NULL&period;
|===


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