[#EC_KEY_get0_public_key]
= EC&lowbar;KEY&lowbar;get0&lowbar;public&lowbar;key
:mrdocs:

Returns the public key of a EC&lowbar;KEY object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:EC_POINT.adoc[EC&lowbar;POINT] const*
EC&lowbar;KEY&lowbar;get0&lowbar;public&lowbar;key(xref:EC_KEY.adoc[EC&lowbar;KEY] const* key);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

a EC&lowbar;POINT object with the public key (possibly NULL)

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| the EC&lowbar;KEY object
|===


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