TlsStream.peerCertificate

CertificateInfo peerCertificate() const @safe

Get the peer's certificate information.

Returns

CertificateInfo for the peer, or empty if unavailable.