pub fn verify_hostname(domain: &str, cert: &X509Ref<'_>) -> bool
Validates that the certificate matches the provided fully qualified domain name.