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

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

Construct the new Acceptor with the associated pkcs12 data