Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SSL_NULL_WITH_NULL_NULL (0.08 sec)

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

        val sslSession =
          FakeSSLSession(
            "TLSv1.3",
            "SSL_NULL_WITH_NULL_NULL",
            arrayOf(serverCertificate.certificate, serverIntermediate.certificate),
            null,
          )
    
        assertFailsWith<IOException> {
          sslSession.handshake()
        }.also { expected ->
          assertThat(expected).hasMessage("cipherSuite == SSL_NULL_WITH_NULL_NULL")
        }
      }
    
      @Test
      fun tlsWithNullNullNull() {
    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

        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