Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SSLSocketFactoryImpl (0.19 sec)

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

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.openjsse.sun.security.ssl.SSLSocketFactoryImpl
    import org.openjsse.sun.security.ssl.SSLSocketImpl
    
    class OpenJSSETest {
      @JvmField @RegisterExtension
      var platform = PlatformRule()
    
      @JvmField @RegisterExtension
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

        // Not supported due to access checks on JDK 9+:
        // java.lang.reflect.InaccessibleObjectException: Unable to make member of class
        // sun.security.ssl.SSLSocketFactoryImpl accessible:  module java.base does not export
        // sun.security.ssl to unnamed module @xxx
        throw UnsupportedOperationException(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/JSSETest.kt

          )
        }
      }
    
      @Test
      fun testSupportedProtocols() {
        val factory = SSLSocketFactory.getDefault()
        assertThat(factory.javaClass.name).isEqualTo("sun.security.ssl.SSLSocketFactoryImpl")
        val s = factory.createSocket() as SSLSocket
    
        when {
          PlatformVersion.majorVersion > 11 ->
            assertThat(s.enabledProtocols.toList()).containsExactly(
              "TLSv1.3",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top