SSL_get1_peer_certificate

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
version(Have_openssl)
extern (C) nothrow
static if(!OPENSSL_VERSION.startsWith("1.0.") && !OPENSSL_VERSION.startsWith("0."))
static if(OPENSSL_VERSION.startsWith("3."))
X509*
SSL_get1_peer_certificate
(
const SSL* ssl
)

Meta