session.peerCertificate


对等方的证书作为 crypto.X509Certificate 实例。如果对等方未出示证书或会话已被销毁,则返回 undefined

🌐 The peer's certificate as a crypto.X509Certificate instance. Returns undefined if the peer did not present a certificate or the session is destroyed.