[#RSAPublicKey_dup]
= RSAPublicKey&lowbar;dup
:mrdocs:

Duplicate an RSA public key via ASN&period;1 encode&sol;decode (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:RSA.adoc[RSA]*
RSAPublicKey&lowbar;dup(xref:RSA.adoc[RSA] const* a);
----

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

Newly allocated RSA copy, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| RSA key whose public components are duplicated&period;
|===


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