- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for asciiToLowercase (0.06 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
} } /** Returns true if [certificate] matches [hostname]. */ private fun verifyHostname( hostname: String, certificate: X509Certificate, ): Boolean { val hostname = hostname.asciiToLowercase() return getSubjectAltNames(certificate, ALT_DNS_NAME).any { verifyHostname(hostname, it) } } /** * This is like [toLowerCase] except that it does nothing if this contains any non-ASCII
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 7.7K bytes - Viewed (0)