trust_dns_proto::rustls

Module tls_server

Source
Available on crate feature dns-over-rustls only.
Expand description

DNS over TLS server implementation for Rustls

Functionsยง

new_acceptor
Construct the new Acceptor with the associated pkcs12 data
read_cert
Read the certificate from the specified path.
read_key
Reads a private key from a pkcs8 formatted, and possibly encoded file
read_key_from_der
Reads a private key from a der formatted file
read_key_from_pem
Attempts to read a private key from a PEM formatted file.