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_AT_LEAST(1, 1, 0))
static if(OPENSSL_VERSION_AT_LEAST(3, 0, 0))
X509*
SSL_get1_peer_certificate
(
const SSL* ssl
)

Meta