TLS streams using OpenSSL.
This crate is meant for cases when it is important to use OpenSSL for the TLS implementation, allowing vendoring on platforms other than Linux. In many cases it is recommended to use the TLS facilities of the platform, and using either native-tls for sync or async-native-tls for async transport.
If system TLS cannot be used, this crate provides the same api as the crates mentioned above, but links always with OpenSSL.
vendored- If enabled, the crate will compile and statically link to a vendored copy of OpenSSL.
io-tokio- Enables asynchronous IO with Tokio runtime.
io-async-std- Enables asynchronous IO with async-std runtime.
Async TLS streams with OpenSSL.
A synchronous TLS implementation using OpenSSL.
An X509 certificate.
A cryptographic identity.
An error returned from the TLS implementation.
An error returned from
SSL/TLS protocol versions.
A typedef of the result-type returned by many methods.