A name from the certificate against the host: equal without regard to case, or a wildcard
*.rest for a host with exactly one more label in front of .rest.
- certificate_name: a dNSName entry or common name from the certificate.
- host: the host name or address the client connected to.
- host_is_address:
hostis an address: a wildcard name never matches it.
name_matches :: (
certificate_name: string,
host: string,
host_is_address: bool
) -> bool
A name from the certificate against the host: equal without regard to case, or a wildcard
*.rest for a host with exactly one more label in front of .rest.
Parameters
- certificate_name: string
- a dNSName entry or common name from the certificate.
- host: string
- the host name or address the client connected to.
- host_is_address: bool
hostis an address: a wildcard name never matches it.
Returns
- bool