Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for assumeNotBouncyCastle (0.09 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          assumeTrue(getPlatformSystemProperty() != LOOM_PROPERTY)
        }
    
        fun assumeNotCorretto() {
          assumeTrue(getPlatformSystemProperty() != CORRETTO_PROPERTY)
        }
    
        fun assumeNotBouncyCastle() {
          // Most failures are with MockWebServer
          // org.bouncycastle.tls.TlsFatalAlertReceived: handshake_failure(40)
          //        at org.bouncycastle.tls.TlsProtocol.handleAlertMessage(TlsProtocol.java:241)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  2. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

      private lateinit var serverIps: List<InetAddress>
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        platform.assumeHttp2Support()
        platform.assumeNotBouncyCastle()
        rootCa =
          HeldCertificate.Builder()
            .serialNumber(1L)
            .certificateAuthority(0)
            .commonName("root")
            .build()
        certificate =
          HeldCertificate.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

      @RegisterExtension
      var clientTestRule = OkHttpClientTestRule()
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setup(server: MockWebServer) {
        this.server = server
        platform.assumeNotBouncyCastle()
      }
    
      /**
       * The pinner should pull the root certificate from the trust manager.
       */
      @Test
      fun pinRootNotPresentInChain() {
        // Fails on 11.0.1 https://github.com/square/okhttp/issues/4703
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(handshake.peerPrincipal).isNull()
        assertThat(handshake.peerCertificates.size).isEqualTo(0)
      }
    
      @Test
      fun httpsWithClientAuth() {
        platform.assumeNotBouncyCastle()
        platform.assumeNotConscrypt()
        val clientCa =
          HeldCertificate.Builder()
            .certificateAuthority(0)
            .build()
        val serverCa =
          HeldCertificate.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        assertThat(handshake.peerPrincipal).isNull()
        assertThat(handshake.peerCertificates.size).isEqualTo(0)
      }
    
      @Test
      fun httpsWithClientAuth() {
        platform.assumeNotBouncyCastle()
        platform.assumeNotConscrypt()
    
        val clientCa =
          HeldCertificate.Builder()
            .certificateAuthority(0)
            .build()
        val serverCa =
          HeldCertificate.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          }
        }
      }
    
      // TODO(jwilson): tests below this marker need to be migrated to OkHttp's request/response API.
      @Test
      fun connectViaHttpsWithSSLFallback() {
        platform.assumeNotBouncyCastle()
    
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.enqueue(MockResponse(socketPolicy = FailHandshake))
        server.enqueue(MockResponse(body = "this response comes via SSL"))
        client =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top