[#SSL_get0_peer_rpk]
= SSL&lowbar;get0&lowbar;peer&lowbar;rpk
:mrdocs:

Return the peer&apos;s negotiated raw public key (RFC 7250), if any&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:EVP_PKEY.adoc[EVP&lowbar;PKEY]*
SSL&lowbar;get0&lowbar;peer&lowbar;rpk(xref:SSL.adoc[SSL] const* s);
----

== Return Value

Peer EVP&lowbar;PKEY for the raw public key, or NULL if none&semi; do not free (owned by `s)&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| SSL connection after the peer authentication material is available&period;
|===


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