hickory_proto::openssl::tls_server

Function read_key_from_der

Source
pub fn read_key_from_der(path: &Path) -> Result<PKey<Private>, ProtoError>
Available on crate feature dns-over-openssl only.
Expand description

Reads a private key from a der formatted file