Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newSslSocketFactory (0.21 sec)

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

        if (Conscrypt.isConscrypt(sslSocket)) {
          Conscrypt.getApplicationProtocol(sslSocket)
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      override fun newSslSocketFactory(trustManager: X509TrustManager): SSLSocketFactory {
        return newSSLContext().apply {
          init(null, arrayOf<TrustManager>(trustManager), null)
        }.socketFactory
      }
    
      companion object {
    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