[#RSA_get0_key]
= RSA&lowbar;get0&lowbar;key
:mrdocs:

Get const pointers to the RSA modulus and exponents (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
RSA&lowbar;get0&lowbar;key(
    xref:RSA.adoc[RSA] const* r,
    xref:BIGNUM.adoc[BIGNUM] const** n,
    xref:BIGNUM.adoc[BIGNUM] const** e,
    xref:BIGNUM.adoc[BIGNUM] const** d);
----

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

const pointers to the RSA modulus and exponents (deprecated)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *r*
| RSA key to query&period;
| *n*
| Receives the modulus, or NULL if not requested&period;
| *e*
| Receives the public exponent, or NULL if not requested&period;
| *d*
| Receives the private exponent, or NULL if not requested&period;
|===


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