[#EVP_PKEY_get_utf8_string_param]
= EVP&lowbar;PKEY&lowbar;get&lowbar;utf8&lowbar;string&lowbar;param
:mrdocs:

Read a UTF&hyphen;8 string parameter from a key by OSSL&lowbar;PKEY&lowbar;PARAM name&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;get&lowbar;utf8&lowbar;string&lowbar;param(
    xref:EVP_PKEY.adoc[EVP&lowbar;PKEY] const* pkey,
    char const* key&lowbar;name,
    char* str,
    size&lowbar;t max&lowbar;buf&lowbar;sz,
    size&lowbar;t* out&lowbar;sz);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pkey*
| Key to query&period;
| *key&lowbar;name*
| Parameter name such as OSSL&lowbar;PKEY&lowbar;PARAM&lowbar;GROUP&lowbar;NAME&period;
| *str*
| Output buffer for the NUL&hyphen;terminated string, or NULL to query size only&period;
| *max&lowbar;buf&lowbar;sz*
| Capacity of `str` in bytes&period;
| *out&lowbar;sz*
| Optional pointer receiving the required&sol;written length including NUL&period;
|===


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