Function trust_dns_rustls::tls_server::new_acceptor[][src]

pub fn new_acceptor(
    cert: Vec<Certificate>,
    key: PrivateKey
) -> Result<ServerConfig, TLSError>

Construct the new Acceptor with the associated pkcs12 data