Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setHostnameVerifier (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

          "Unexpected default trust managers: ${trustManagers.contentToString()}"
        }
        val x509TrustManager = trustManagers[0] as X509TrustManager
        // Disabled because OkHttp will run anyway
        Conscrypt.setHostnameVerifier(x509TrustManager, DisabledHostnameVerifier)
        return x509TrustManager
      }
    
      internal object DisabledHostnameVerifier : ConscryptHostnameVerifier {
        fun verify(
          hostname: String?,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top