Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 139 for jsse (0.02 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

    import okio.ByteString.Companion.toByteString
    
    /**
     * Logs SSL keys to a log file, allowing Wireshark to decode traffic and be examined with http2
     * filter. The approach is to hook into JSSE log events for the messages between client and server
     * during handshake, and then take the agreed masterSecret from private fields of the session.
     *
     * Copy WireSharkKeyLoggerListener to your test code to use in development.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt

        platform.assumeJdk9()
      }
    
      @Test
      fun testTlsv13Works() {
        // https://docs.oracle.com/en/java/javase/14/security/java-secure-socket-extension-jsse-reference-guide.html
        // TODO test jdk.tls.client.enableSessionTicketExtension
        // TODO check debugging information
    
        enableTls()
    
        server.enqueue(MockResponse(body = "abc"))
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  3. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.Protocol
    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.
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  4. android-test/src/androidDeviceTest/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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  5. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 15.5K bytes
    - Click Count (1)
  6. fastapi/sse.py

        Use as `response_class=EventSourceResponse` on a *path operation* that uses `yield`
        to enable Server Sent Events (SSE) responses.
    
        Works with **any HTTP method** (`GET`, `POST`, etc.), which makes it compatible
        with protocols like MCP that stream SSE over `POST`.
    
        The actual encoding logic lives in the FastAPI routing layer. This class
        serves mainly as a marker and sets the correct `Content-Type`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  7. docs/pt/docs/advanced/strict-content-type.md

    Atacantes poderiam simplesmente executar um script para enviar requisições à sua API, sem necessidade de interação do navegador, então você provavelmente já está protegendo quaisquer endpoints privilegiados.
    
    Nesse caso, esse ataque/risco não se aplica a você.
    
    Esse risco e ataque é relevante principalmente quando a aplicação roda na rede local e essa é a única proteção presumida.
    
    ## Permitindo Requisições sem Content-Type { #allowing-requests-without-content-type }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/schema-extra-example.md

    E então o novo OpenAPI 3.1.0 passou a se basear na versão mais recente (JSON Schema 2020-12), que incluiu esse novo campo `examples`.
    
    E agora esse novo campo `examples` tem precedência sobre o antigo campo único (e customizado) `example`, que agora está descontinuado.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     *     ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
     * graph.putEdgeValue("San Francisco", "San Francisco", 0.0);
     * graph.putEdgeValue("San Jose", "San Jose", 0.0);
     * graph.putEdgeValue("San Francisco", "San Jose", 48.4);
     *
     * // Building an immutable value graph
     * ImmutableValueGraph<String, Double> immutableGraph =
     *     ValueGraphBuilder.undirected()
     *         .allowsSelfLoops(true)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/openapi-callbacks.md

    ///
    
    ## Escreva o código de documentação do callback { #write-the-callback-documentation-code }
    
    Esse código não será executado em seu aplicativo, nós só precisamos dele para *documentar* como essa *API externa* deveria ser.
    
    Mas, você já sabe como criar facilmente documentação automática para uma API com o **FastAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top