Public interface for a TLS-secured stream
A list of allowed TLS peers (and their trusted certificates),
which can be
Attempted to create an
The certificate offered by the peer is malformed.
The read half of a stream over a secure connection protected by TLS.
A stream over a secure connection protected by TLS.
The write half of a stream over a secure connection protected by TLS.
An authenticated Node ID, or an authenticated certificate
A TLS peer, with identification information (if authenticated)
Errors from a TLS handshake due to an unauthorized peer
A list of node IDs, or "all nodes"
Errors from a TLS handshake performed as the client. Please refer to the
Errors from a TLS handshake performed as the server. Please refer to the
Implementors provide methods for transforming TCP streams into TLS stream.