事件:'secure'
🌐 Event: 'secure'
SecurePair 对象在建立安全连接后会触发 'secure' 事件。
🌐 The 'secure' event is emitted by the SecurePair object once a secure
connection has been established.
与检查服务器 'secureConnection' 事件一样,应检查 pair.cleartext.authorized 以确认所使用的证书是否经过适当授权。
🌐 As with checking for the server
'secureConnection'
event, pair.cleartext.authorized should be inspected to confirm whether the
certificate used is properly authorized.