Module tls_common

Source
Available on crate features direct-tls or starttls only.
Expand description

Common TLS functionality shared between direct_tls and starttls modules

Structs§

TlsStreamnative-tls
A wrapper around an underlying raw stream which implements the TLS or SSL protocol.

Enums§

TlsConnectorError
Common TLS error type used by both direct_tls and starttls

Functions§

establish_tls_connectionnative-tls
Establish TLS connection using native-tls