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

Construct the new Acceptor with the associated pkcs12 data