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
impl ServerBuilder[src]
impl ServerBuilder[src]pub fn new(identity: &SecIdentity, certs: &[SecCertificate]) -> ServerBuilder[src]
pub fn new(identity: &SecIdentity, certs: &[SecCertificate]) -> ServerBuilder[src]Creates a new ServerBuilder which will use the specified identity
and certificate chain for handshakes.