[#SSL_get1_peer_certificate] = SSL_get1_peer_certificate :mrdocs: Return the peer's end‐entity X509 certificate, incrementing its reference count. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:X509.adoc[X509]* SSL_get1_peer_certificate(xref:SSL.adoc[SSL] const* s); ---- == Return Value Peer certificate (caller must X509_free), or NULL if none was presented / no connection. == Parameters [cols="1,4"] |=== | Name| Description | *s* | SSL connection whose peer certificate is retrieved. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#