[#RSAPublicKey_dup] = RSAPublicKey_dup :mrdocs: Duplicate an RSA public key via ASN.1 encode/decode (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:RSA.adoc[RSA]* RSAPublicKey_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. == Parameters [cols="1,4"] |=== | Name| Description | *a* | RSA key whose public components are duplicated. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#