[#EVP_PKEY_CTX_get_operation]
= EVP&lowbar;PKEY&lowbar;CTX&lowbar;get&lowbar;operation
:mrdocs:

Return the operation type currently configured on a key context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;CTX&lowbar;get&lowbar;operation(xref:EVP_PKEY_CTX.adoc[EVP&lowbar;PKEY&lowbar;CTX]* ctx);
----

== Return Value

One of the EVP&lowbar;PKEY&lowbar;OP&lowbar;&ast; values, or EVP&lowbar;PKEY&lowbar;OP&lowbar;UNDEFINED if unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Key context to query&period;
|===


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