[#SSL_get0_verified_chain]
= SSL&lowbar;get0&lowbar;verified&lowbar;chain
:mrdocs:

Return the verified peer certificate chain including the end&hyphen;entity certificate&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
stack&lowbar;st&lowbar;X509*
SSL&lowbar;get0&lowbar;verified&lowbar;chain(xref:SSL.adoc[SSL] const* s);
----

== Return Value

Stack of X509 (do not free), possibly incomplete if verification failed&semi; NULL if unavailable&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| SSL connection after a successful session establishment&period;
|===


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