Struct security_framework::secure_transport::ServerBuilder
source · [−]pub struct ServerBuilder { /* private fields */ }
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.