Async TLS streams backed by OpenSSL
This library is an implementation of TLS streams using OpenSSL for
negotiating the connection. Each TLS stream implements the
Write traits to interact and interoperate with the rest of the futures I/O
ecosystem. Client connections initiated from this crate verify hostnames
automatically and by default.
This crate primarily exports this ability through two extension traits,
SslAcceptorExt. These traits augment the
functionality provided by the
openssl crate, on which this crate is
built. Configuration of TLS parameters is still primarily done through the
The error type returned after a failed handshake.
A wrapper around an underlying raw stream which implements the SSL protocol.
Asynchronously performs a server-side TLS handshake over the provided stream.
Asynchronously performs a client-side TLS handshake over the provided stream.