Verifies if the given hostname matches the Common Name (CN) or Subject Alternative Names (SANs) of the certificate.
The hostname to check.
The certificate to getCertificateInfo against.
true if the hostname matches, otherwise false.
true
false
Verifies if the given hostname matches the Common Name (CN) or Subject Alternative Names (SANs) of the certificate.