[#EVP_PKEY_get1_RSA] = EVP_PKEY_get1_RSA :mrdocs: Return a new reference to the RSA key held by `pkey` (deprecated). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:rsa_st.adoc[rsa_st]* EVP_PKEY_get1_RSA(xref:EVP_PKEY.adoc[EVP_PKEY]* pkey); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value RSA pointer with an incremented reference count (caller frees with RSA_free()), or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *pkey* | Key that must hold an RSA key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#