Skip to main content

Crate tls

Crate tls 

Source
Available on crate feature tls only.
Expand description

TLS streams.

Modules§

native_tls
An abstraction over platform-specific TLS implementations.
py_dynamic_openssl
rustls
Rustls - a modern TLS library

Structs§

LazyConfigAcceptor
A lazy TLS acceptor that performs the initial handshake and allows access to the ClientHello message before completing the handshake.
MaybeTlsStream
Stream that can be either plain TCP or TLS-encrypted
StartHandshake
A TLS acceptor that has completed the initial handshake and allows access to the ClientHello message.
TlsAcceptor
A wrapper around a native_tls::TlsAcceptor or rustls::ServerConfig, providing an async accept method.
TlsConnector
A wrapper around a native_tls::TlsConnector or rustls::ClientConfig, providing an async connect method.
TlsStream
A wrapper around an underlying raw stream which implements the TLS or SSL protocol.