Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for cipherSuite (0.12 sec)

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

        assertThat(cache.requestCount()).isEqualTo(2)
        assertThat(cache.networkCount()).isEqualTo(1)
        assertThat(cache.hitCount()).isEqualTo(1)
    
        assertThat(response.handshake!!.cipherSuite.javaName).startsWith("SLT_")
      }
    
      @Test
      fun truncatedMetadataEntry() {
        val response =
          testCorruptingCache {
            corruptMetadata {
              // truncate metadata to 1/4 of length
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/RecordedResponse.kt

          assertThat(body).isEqualTo(expectedBody)
        }
    
      fun assertHandshake() =
        apply {
          val handshake = response!!.handshake!!
          assertThat(handshake.tlsVersion).isNotNull()
          assertThat(handshake.cipherSuite).isNotNull()
          assertThat(handshake.peerPrincipal).isNotNull()
          assertThat(handshake.peerCertificates.size).isEqualTo(1)
          assertThat(handshake.localPrincipal).isNull()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        val source = response1.body.source()
        assertThat(source.readUtf8()).isEqualTo("ABC")
    
        // OpenJDK 6 fails on this line, complaining that the connection isn't open yet
        val cipherSuite = response1.handshake!!.cipherSuite
        val localCerts = response1.handshake!!.localCertificates
        val serverCerts = response1.handshake!!.peerCertificates
        val peerPrincipal = response1.handshake!!.peerPrincipal
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

        return delegate!!.peerPrincipal
      }
    
      override fun getLocalPrincipal(): Principal {
        return delegate!!.localPrincipal
      }
    
      override fun getCipherSuite(): String {
        return delegate!!.cipherSuite
      }
    
      override fun getProtocol(): String {
        return delegate!!.protocol
      }
    
      override fun getPeerHost(): String {
        return delegate!!.peerHost
      }
    
      override fun getPeerPort(): Int {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. build.gradle.kts

      }
    
      configure<JavaPluginExtension> {
        toolchain {
          languageVersion.set(JavaLanguageVersion.of(17))
        }
      }
    
      tasks.withType<Checkstyle>().configureEach {
        exclude("**/CipherSuite.java")
      }
    
      val checkstyleConfig: Configuration by configurations.creating
      dependencies {
        checkstyleConfig(rootProject.libs.checkStyle) {
          isTransitive = false
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 23 17:02:02 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/CipherSuite$Companion$ORDER_BY_NAME$1;-><init>()V
    HSPLokhttp3/CipherSuite$Companion$ORDER_BY_NAME$1;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
    HSPLokhttp3/CipherSuite$Companion;-><init>(Landroidx/lifecycle/viewmodel/R$id;)V
    HSPLokhttp3/CipherSuite$Companion;->access$init(Lokhttp3/CipherSuite$Companion;Ljava/lang/String;I)Lokhttp3/CipherSuite;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

      override fun toString(): String {
        return "Connection{${route.address.url.host}:${route.address.url.port}," +
          " proxy=${route.proxy}" +
          " hostAddress=${route.socketAddress}" +
          " cipherSuite=${handshake?.cipherSuite ?: "none"}" +
          " protocol=$protocol}"
      }
    
      companion object {
        const val IDLE_CONNECTION_HEALTHY_NS = 10_000_000_000 // 10 seconds.
    
        fun newTestConnection(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallTest.kt

        )
        server.enqueue(MockResponse())
        val cipherSuite = CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256
        val clientCertificates =
          HandshakeCertificates.Builder()
            .build()
        client =
          client.newBuilder()
            .sslSocketFactory(
              socketFactoryWithCipherSuite(clientCertificates.sslSocketFactory(), cipherSuite),
              clientCertificates.trustManager,
            )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        val request = server.takeRequest()
        assertThat(request.requestUrl!!.scheme).isEqualTo("https")
        val handshake = request.handshake
        assertThat(handshake!!.tlsVersion).isNotNull()
        assertThat(handshake.cipherSuite).isNotNull()
        assertThat(handshake.localPrincipal).isNotNull()
        assertThat(handshake.localCertificates.size).isEqualTo(1)
        assertThat(handshake.peerPrincipal).isNull()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        val request = server.takeRequest()
        assertThat(request.requestUrl!!.scheme).isEqualTo("https")
        val handshake = request.handshake
        assertThat(handshake!!.tlsVersion).isNotNull()
        assertThat(handshake.cipherSuite).isNotNull()
        assertThat(handshake.localPrincipal).isNotNull()
        assertThat(handshake.localCertificates.size).isEqualTo(1)
        assertThat(handshake.peerPrincipal).isNull()
    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