Function openssl_verify::verify_hostname [] [src]

pub fn verify_hostname(domain: &str, cert: &X509) -> bool

Validates that the certificate matches the provided fully qualified domain name.