Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for jdk (0.12 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

            if (openJSSE != null) {
              return openJSSE
            }
          }
    
          // An Oracle JDK 9 like OpenJDK, or JDK 8 251+.
          val jdk9 = Jdk9Platform.buildIfSupported()
    
          if (jdk9 != null) {
            return jdk9
          }
    
          // An Oracle JDK 8 like OpenJDK, pre 251.
          val jdkWithJettyBoot = Jdk8WithJettyBootPlatform.buildIfSupported()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  2. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

          call.execute()
        }.also { expected ->
          when (expected) {
            is SSLHandshakeException -> {
              // JDK 11+
            }
            is SSLException -> {
              // javax.net.ssl.SSLException: readRecord
            }
            is SocketException -> {
              // Conscrypt, JDK 8 (>= 292), JDK 9
            }
            else -> {
              assertThat(expected.message).isEqualTo("exhausted all routes")
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

     * Example of using a hardware key to perform client auth.
     * Prefer recent JDK builds, and results are temperamental to slight environment changes.
     * Different instructions and configuration may be required for other hardware devices.
     *
     * Using a yubikey device as a SSL key store.
     * https://lauri.võsandi.com/2017/03/yubikey-for-ssh-auth.html
     *
     * Using PKCS11 support in the JDK.
     * https://tersesystems.com/blog/2018/09/08/keymanagers-and-keystores/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  4. .github/workflows/docs.yml

        steps:
          - name: Checkout
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
    
          - name: Configure JDK
            uses: actions/setup-java@v4
            with:
              distribution: 'zulu'
              java-version: 17
    
          - uses: actions/setup-python@v5
            with:
              python-version: 3.x
    
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 04 06:13:36 GMT 2024
    - 1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
    
        // Default after JDK 14, but we are avoiding tests that assume special setup.
        // System.setProperty("jdk.tls.client.enableSessionTicketExtension", "true")
        // System.setProperty("jdk.tls.server.enableSessionTicketExtension", "true")
    
        // IllegalStateException: Cannot resume session and session creation is disabled
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. .github/workflows/containers.yml

        steps:
          - name: Checkout
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
    
          - name: Configure JDK
            uses: actions/setup-java@v4
            with:
              distribution: 'zulu'
              java-version: 17
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v3
    
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Mar 23 12:00:11 GMT 2024
    - 911 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

          try {
            // 1.8, 9, 10, 11, 12 etc
            val version = jvmVersion.toInt()
            if (version >= 9) return null
          } catch (_: NumberFormatException) {
            // expected on >= JDK 9
          }
    
          // Find Jetty's ALPN extension for OpenJDK.
          try {
            val alpnClassName = "org.eclipse.jetty.alpn.ALPN"
            val alpnClass = Class.forName(alpnClassName, true, null)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

              // RI response to the FAIL_HANDSHAKE
            }
            is SSLHandshakeException -> {
              // Android's response to the FAIL_HANDSHAKE
            }
            is SSLException -> {
              // JDK 1.9 response to the FAIL_HANDSHAKE
              // javax.net.ssl.SSLException: Unexpected handshake message: client_hello
            }
            is SocketException -> {
              // Conscrypt's response to the FAIL_HANDSHAKE
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  9. docs/security/security_providers.md

    | Android default  | ✅      | Android 10+  | [BoringSSL]     |                                                              |
    | [GraalVM]        | ✅      |              | [OpenJDK]       | Only actively tested with JDK 11, not with 8 target          |
    | [Bouncy Castle]  | ✅      |              | [Bouncy Castle] | [Tracking bug.][bug5698]                                     |
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  10. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

              handler.formatter = OneLineLogFormat()
              val activeLogger = getLogger("")
              activeLogger.addHandler(handler)
              activeLogger.level = Level.ALL
    
              getLogger("jdk.event.security").level = Level.INFO
              getLogger("org.conscrypt").level = Level.INFO
            } else {
              if (showHttp2Frames) {
                val activeLogger = getLogger(Http2::class.java.name)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.7K bytes
    - Viewed (1)
Back to top