Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TLS_NULL_WITH_NULL_NULL (0.54 sec)

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

          FakeSSLSession(
            "TLSv1.3",
            "TLS_NULL_WITH_NULL_NULL",
            arrayOf(serverCertificate.certificate, serverIntermediate.certificate),
            null,
          )
    
        assertFailsWith<IOException> {
          sslSession.handshake()
        }.also { expected ->
          assertThat(expected).hasMessage("cipherSuite == TLS_NULL_WITH_NULL_NULL")
        }
      }
    
      class FakeSSLSession(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Handshake.kt

        @JvmStatic
        @JvmName("get")
        fun SSLSession.handshake(): Handshake {
          val cipherSuite =
            when (val cipherSuiteString = checkNotNull(cipherSuite) { "cipherSuite == null" }) {
              "TLS_NULL_WITH_NULL_NULL", "SSL_NULL_WITH_NULL_NULL" -> {
                throw IOException("cipherSuite == $cipherSuiteString")
              }
              else -> CipherSuite.forJavaName(cipherSuiteString)
            }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top