Function trust_dns_proto::openssl::tls_server::read_key_from_pkcs8
source · pub fn read_key_from_pkcs8(
path: &Path,
password: Option<&str>
) -> ProtoResult<PKey<Private>>
Available on crate feature
dns-over-openssl
only.Expand description
Reads a private key from a pkcs8 formatted, and possibly encoded file