Struct openssl::ssl::SslAcceptor
[−]
[src]
pub struct SslAcceptor(_);
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.
Methods
impl SslAcceptor
[src]
fn accept<S>(&self, stream: S) -> Result<SslStream<S>, HandshakeError<S>> where S: Read + Write
Initiates a server-side TLS session on a stream.
Trait Implementations
impl Clone for SslAcceptor
[src]
fn clone(&self) -> SslAcceptor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more