Struct security_framework::secure_transport::ServerBuilder [−][src]
pub struct ServerBuilder { /* fields omitted */ }Expand description
A builder type to simplify the creation of server-side SslStreams.
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 ServerBuilderimpl Send for ServerBuilderimpl Sync for ServerBuilderimpl Unpin for ServerBuilderimpl UnwindSafe for ServerBuilder