Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for assumeNotConscrypt (0.1 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

          .containsExactly(TlsVersion.TLS_1_2)
        assertThat(tlsSpec.supportsTlsExtensions).isTrue()
      }
    
      @Test
      fun tls_defaultCiphers_noFallbackIndicator() {
        platform.assumeNotConscrypt()
        platform.assumeNotBouncyCastle()
        val tlsSpec =
          ConnectionSpec.Builder(true)
            .tlsVersions(TlsVersion.TLS_1_2)
            .supportsTlsExtensions(false)
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

      }
    
      @Test
      fun testDefaultHandshakeCipherSuiteOrderingTls12Restricted() {
        // We are avoiding making guarantees on ordering of secondary Platforms.
        platform.assumeNotConscrypt()
        platform.assumeNotBouncyCastle()
    
        val client = makeClient(ConnectionSpec.RESTRICTED_TLS, TlsVersion.TLS_1_2)
    
        val handshake = makeRequest(client)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

        }
    
        fun assumeAndroid() {
          assumeTrue(Platform.isAndroid)
        }
    
        fun assumeGraalVMImage() {
          assumeTrue(isGraalVMImage())
        }
    
        fun assumeNotConscrypt() {
          assumeTrue(getPlatformSystemProperty() != CONSCRYPT_PROPERTY)
        }
    
        fun assumeNotJdk9() {
          assumeTrue(getPlatformSystemProperty() != JDK9_PROPERTY)
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

        assertThat(verifier.verify("tel.com", session)).isFalse()
        assertThat(verifier.verify("k.com", session)).isFalse()
      }
    
      @Test fun specialKInExternalCert() {
        // OpenJDK related test.
        platform.assumeNotConscrypt()
    
        // Expecting actual:
        //  ["℡.com", "K.com"]
        // to contain exactly (and in same order):
        //  ["���.com", "���.com"]
        platform.assumeNotBouncyCastle()
    
        // $ cat ./cert.cnf
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  5. 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()
            .certificateAuthority(0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. 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()
            .certificateAuthority(0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top