Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for BouncyCastleJsseProvider (1.07 sec)

  1. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

    import org.bouncycastle.jsse.BCSSLSocket
    import org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
    
    /**
     * Platform using BouncyCastle if installed as the first Security Provider.
     *
     * Requires org.bouncycastle:bctls-jdk15on on the classpath.
     */
    class BouncyCastlePlatform private constructor() : Platform() {
      private val provider: Provider = BouncyCastleJsseProvider()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt

          }
    
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, javaClass.classLoader)
    
            true
          } catch (_: ClassNotFoundException) {
            false
          }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.HeldCertificate
    import okhttp3.tls.internal.TlsUtil.localhost
    import org.bouncycastle.jce.provider.BouncyCastleProvider
    import org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
    import org.conscrypt.Conscrypt
    import org.hamcrest.BaseMatcher
    import org.hamcrest.CoreMatchers.anything
    import org.hamcrest.Description
    import org.hamcrest.Matcher
    import org.hamcrest.StringDescription
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  4. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

    import okhttp3.tls.internal.TlsUtil.localhost
    import okhttp3.zstd.Zstd
    import okio.ByteString.Companion.toByteString
    import org.bouncycastle.jce.provider.BouncyCastleProvider
    import org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
    import org.conscrypt.Conscrypt
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertNotNull
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
Back to top