Function hickory_proto::rustls::tls_server::read_key_from_der

source ·
pub fn read_key_from_der(path: &Path) -> ProtoResult<PrivateKey>
Available on crate feature dns-over-rustls only.
Expand description

Reads a private key from a der formatted file