[#EVP_PKEY_can_sign]
= EVP&lowbar;PKEY&lowbar;can&lowbar;sign
:mrdocs:

Test whether a key type supports signing operations&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;can&lowbar;sign(xref:EVP_PKEY.adoc[EVP&lowbar;PKEY] const* pkey);
----

== Return Value

1 if the key can be used for signing, or 0 otherwise&period;

== Parameters

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


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