TlsStream.peerCertificates

TlsCertificateChain peerCertificates() @property const;

Returns

The peer's certificate chain, or null if none presented.

Only valid after handshake completes.