TlsStream.peerCertificate

CertificateInfo peerCertificate() @trusted

Get the peer's certificate information.

Returns

CertificateInfo for the peer, or empty if unavailable.