Struct openssl::ssl::SslConnector [−][src]
pub struct SslConnector(_);
Expand description
A type which wraps client-side streams in a TLS session.
OpenSSL’s default configuration is highly insecure. This connector manages the OpenSSL structures, configuring cipher suites, session options, hostname verification, and more.
OpenSSL’s built in hostname verification is used when linking against OpenSSL 1.0.2 or 1.1.0, and a custom implementation is used when linking against OpenSSL 1.0.1.
Implementations
Creates a new builder for TLS connections.
The default configuration is subject to change, and is currently derived from Python.
Initiates a client-side TLS session on a stream.
The domain is used for SNI and hostname verification.
Returns a structure allowing for configuration of a single TLS session before connection.
Consumes the SslConnector
, returning the inner raw SslContext
.
Returns a shared reference to the inner raw SslContext
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SslConnector
impl Send for SslConnector
impl Sync for SslConnector
impl Unpin for SslConnector
impl UnwindSafe for SslConnector
Blanket Implementations
Mutably borrows from an owned value. Read more