Struct openssl::ssl::SslAcceptor [−][src]
pub struct SslAcceptor(_);
Expand description
A type which wraps server-side streams in a TLS session.
OpenSSL’s default configuration is highly insecure. This connector manages the OpenSSL structures, configuring cipher suites, session options, and more.
Implementations
Creates a new builder configured to connect to non-legacy clients. This should generally be considered a reasonable default choice.
This corresponds to the intermediate configuration of version 5 of Mozilla’s server side TLS recommendations. See its documentation for more details on specifics.
Creates a new builder configured to connect to modern clients.
This corresponds to the modern configuration of version 5 of Mozilla’s server side TLS recommendations. See its documentation for more details on specifics.
Requires OpenSSL 1.1.1 or newer.
Creates a new builder configured to connect to non-legacy clients. This should generally be considered a reasonable default choice.
This corresponds to the intermediate configuration of version 4 of Mozilla’s server side TLS recommendations. See its documentation for more details on specifics.
Creates a new builder configured to connect to modern clients.
This corresponds to the modern configuration of version 4 of Mozilla’s server side TLS recommendations. See its documentation for more details on specifics.
Initiates a server-side TLS session on a stream.
Consumes the SslAcceptor
, returning the inner raw SslContext
.
Returns a shared reference to the inner raw SslContext
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SslAcceptor
impl Send for SslAcceptor
impl Sync for SslAcceptor
impl Unpin for SslAcceptor
impl UnwindSafe for SslAcceptor
Blanket Implementations
Mutably borrows from an owned value. Read more