trust_dns_rustls::tls_server

Function new_acceptor

Source
pub fn new_acceptor(
    cert: Vec<Certificate>,
    key: PrivateKey,
) -> Result<ServerConfig, Error>
Expand description

Construct the new Acceptor with the associated pkcs12 data