Struct security_framework::secure_transport::ServerBuilder [−][src]
pub struct ServerBuilder { /* fields omitted */ }
Expand description
A builder type to simplify the creation of server-side SslStream
s.
Implementations
Creates a new ServerBuilder
which will use the specified identity
and certificate chain for handshakes.
Creates a new ServerBuilder
which will use the identity
from the given PKCS #12 data.
This operation fails if PKCS #12 file contains zero or more than one identity.
This is a shortcut for the most common operation.
Create a SSL context for lower-level stream initialization.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ServerBuilder
impl Send for ServerBuilder
impl Sync for ServerBuilder
impl Unpin for ServerBuilder
impl UnwindSafe for ServerBuilder