[#EVP_PKEY_get0_RSA]
= EVP&lowbar;PKEY&lowbar;get0&lowbar;RSA
:mrdocs:

Return the legacy RSA handle inside `pkey` without incrementing its refcount (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:rsa_st.adoc[rsa&lowbar;st] const*
EVP&lowbar;PKEY&lowbar;get0&lowbar;RSA(xref:EVP_PKEY.adoc[EVP&lowbar;PKEY] const* pkey);
----

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

Borrowed RSA pointer, or NULL if `pkey` is not RSA &sol; on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pkey*
| Key expected to contain an RSA key&period;
|===


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