Function trust_dns_proto::rustls::tls_server::new_acceptor
source · [−]pub fn new_acceptor(
cert: Vec<Certificate>,
key: PrivateKey
) -> Result<ServerConfig, Error>
This is supported on crate feature
dns-over-rustls
only.Expand description
Construct the new Acceptor with the associated pkcs12 data