trust_dns_openssl::tls_server

Function new_acceptor

Source
pub fn new_acceptor(
    cert: X509,
    chain: Option<Stack<X509>>,
    key: PKey<Private>,
) -> Result<SslAcceptor, Error>
Expand description

Construct the new Acceptor with the associated pkcs12 data