hickory_proto::openssl::tls_server

Function new_acceptor

Source
pub fn new_acceptor(
    cert: X509,
    chain: Option<Stack<X509>>,
    key: PKey<Private>,
) -> Result<SslAcceptor>
Available on crate feature dns-over-openssl only.
Expand description

Construct the new Acceptor with the associated pkcs12 data