[][src]Function trust_dns_rustls::tls_server::read_key_from_pkcs8

pub fn read_key_from_pkcs8(path: &Path) -> ProtoResult<PrivateKey>

Reads a private key from a pkcs8 formatted, and possibly encoded file