- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for OpenSSLSocketImpl (0.1 sec)
-
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) -
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)