Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for sessions (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/Cache.kt

         *
         * Next is the response status line, followed by the number of HTTP response header lines,
         * followed by those lines.
         *
         * HTTPS responses also contain SSL session information. This begins with a blank line, and then
         * a line containing the cipher suite. Next is the length of the peer certificate chain. These
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

            .build()
        val session = session(heldCertificate.certificatePem())
        assertThat(verifier.verify("foo.com", session)).isFalse()
        assertThat(verifier.verify("bar.com", session)).isFalse()
        assertThat(verifier.verify("k.com", session)).isTrue()
        assertThat(verifier.verify("K.com", session)).isTrue()
        assertThat(verifier.verify("\u2121.com", session)).isFalse()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 40.3K bytes
    - Viewed (0)
  3. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

          initOauthSession(session);
          System.out.printf("session granted: %s\n", session);
        });
    
        System.out.printf("open this URL in a browser: %s\n", authorizeUrl);
      }
    
      /** Set the OAuth session for this client. */
      public synchronized void initOauthSession(OAuthSession session) {
        this.session = session;
        this.notifyAll();
      }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        if (matchesSocket(sslSocket)) {
          try {
            // Enable session tickets.
            setUseSessionTickets.invoke(sslSocket, true)
    
            // Assume platform support on 24+
            if (hostname != null && Build.VERSION.SDK_INT <= 23) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val size: Int = formBody.size()
      }
    
      @Test @Disabled
      fun handshake() {
        val handshake: Handshake =
          Handshake.get((localhost().sslSocketFactory().createSocket() as SSLSocket).session)
        val tlsVersion: TlsVersion = handshake.tlsVersion()
        val cipherSuite: CipherSuite = handshake.cipherSuite()
        val peerCertificates: List<Certificate> = handshake.peerCertificates()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. gradle/wrapper/gradle-wrapper.jar

    Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      val withoutSectionSpans = withoutSectionSpans(simplified)
      val sections = sections(withoutSectionSpans)
    
      val rangesBuffer = Buffer()
      val mappingsBuffer = StringBuilder()
      val sectionIndexBuffer = Buffer()
    
      var previousMappedRanges: List<MappedRange>? = null
    
      for ((section, sectionMappedRanges) in sections) {
        // Skip sequential ranges when they are equal.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

            .addModifiers(KModifier.INTERNAL)
            .initializer(
              """
              |%T(⇥
              |sections = "%L",
              |ranges = "%L",
              |mappings = "%L",
              |⇤)
              """.trimMargin(),
              idnaMappingTable,
              data.sections.escapeDataString(),
              data.ranges.escapeDataString(),
              data.mappings.escapeDataString(),
            )
            .build(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingHostnameVerifier.kt

    import javax.net.ssl.SSLSession
    
    class RecordingHostnameVerifier : HostnameVerifier {
      @JvmField
      val calls: MutableList<String> = mutableListOf()
    
      @Synchronized override fun verify(
        hostname: String,
        session: SSLSession,
      ): Boolean {
        calls.add("verify $hostname")
        return true
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 980 bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        if (matchesSocket(sslSocket)) {
          // Enable session tickets.
          Conscrypt.setUseSessionTickets(sslSocket, true)
    
          // Enable ALPN.
          val names = Platform.alpnProtocolNames(protocols)
          Conscrypt.setApplicationProtocols(sslSocket, names.toTypedArray())
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top