Function trust_dns_proto::rustls::tls_server::read_key_from_pem[][src]

pub fn read_key_from_pem(path: &Path) -> ProtoResult<PrivateKey>
This is supported on crate feature dns-over-rustls only.
Expand description

Reads a private key from a pem formatted file