Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ConscryptSocketAdapter (0.14 sec)

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

    import okhttp3.internal.platform.Platform
    import org.conscrypt.Conscrypt
    
    /**
     * Simple non-reflection SocketAdapter for Conscrypt when included as an application dependency
     * directly.
     */
    class ConscryptSocketAdapter : SocketAdapter {
      override fun matchesSocket(sslSocket: SSLSocket): Boolean = Conscrypt.isConscrypt(sslSocket)
    
      override fun isSupported(): Boolean = ConscryptPlatform.isSupported
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/Android10Platform.kt

    import okhttp3.internal.platform.android.AndroidSocketAdapter
    import okhttp3.internal.platform.android.BouncyCastleSocketAdapter
    import okhttp3.internal.platform.android.ConscryptSocketAdapter
    import okhttp3.internal.platform.android.DeferredSocketAdapter
    import okhttp3.internal.tls.CertificateChainCleaner
    
    /** Android 10+ (API 29+). */
    @SuppressSignatureCheck
    class Android10Platform : Platform() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

    import okhttp3.internal.platform.android.AndroidSocketAdapter
    import okhttp3.internal.platform.android.BouncyCastleSocketAdapter
    import okhttp3.internal.platform.android.ConscryptSocketAdapter
    import okhttp3.internal.platform.android.DeferredSocketAdapter
    import okhttp3.internal.platform.android.StandardAndroidSocketAdapter
    import okhttp3.internal.tls.BasicTrustRootIndex
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt

        assertNull(adapter.getSelectedProtocol(sslSocket))
      }
    
      companion object {
        @JvmStatic
        fun data(): Collection<SocketAdapter> {
          return listOfNotNull(
            DeferredSocketAdapter(ConscryptSocketAdapter.factory),
            DeferredSocketAdapter(AndroidSocketAdapter.factory("org.conscrypt")),
            StandardAndroidSocketAdapter.buildIfSupported("org.conscrypt"),
          )
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top