Function trust_dns_openssl::tls_server::read_cert [] [src]

pub fn read_cert(
    path: &Path,
    password: Option<&str>
) -> Result<ParsedPkcs12, String>

Read the certificate from the specified path.

If the password is specified, then it will be used to decode the Certificate