TlsStream.peerCertificate

CertificateInfo peerCertificate() @trusted nothrow

Get information about the peer's certificate.

Returns

Certificate info, or empty if no certificate available.