Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OpenSSLSocketImpl (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

          var possibleClass: Class<in SSLSocket>? = actualSSLSocketClass
          while (possibleClass != null && possibleClass.simpleName != "OpenSSLSocketImpl") {
            possibleClass = possibleClass.superclass
    
            if (possibleClass == null) {
              throw AssertionError(
                "No OpenSSLSocketImpl superclass of socket of type $actualSSLSocketClass",
              )
            }
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt

      companion object {
        @Suppress("UNCHECKED_CAST")
        fun buildIfSupported(packageName: String = "com.android.org.conscrypt"): SocketAdapter? {
          return try {
            val sslSocketClass = Class.forName("$packageName.OpenSSLSocketImpl") as Class<in SSLSocket>
            val sslSocketFactoryClass =
              Class.forName("$packageName.OpenSSLSocketFactoryImpl") as Class<in SSLSocketFactory>
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top