Function trust_dns_proto::rustls::tls_server::read_key
source · [−]pub fn read_key(path: &Path) -> ProtoResult<PrivateKey>
Available on crate feature
dns-over-rustls
only.Expand description
Reads a private key from a pkcs8 formatted, and possibly encoded file