类: SecurePair

Returned by tls.createSecurePair.

Event: 'secure'

This event is emitted from the SecurePair once the pair has successfully established a secure connection.

As with checking for the server secureConnection event, pair.cleartext.authorized should be inspected to confirm whether the certificate used is properly authorized.