Class SslTransportTls12Tls13Test

java.lang.Object
org.apache.kafka.common.network.SslTransportTls12Tls13Test

public class SslTransportTls12Tls13Test extends Object
  • Constructor Details

    • SslTransportTls12Tls13Test

      public SslTransportTls12Tls13Test()
  • Method Details

    • setup

      @BeforeEach public void setup() throws Exception
      Throws:
      Exception
    • teardown

      @AfterEach public void teardown() throws Exception
      Throws:
      Exception
    • testCiphersSuiteForTls12FailsForTls13

      @Test public void testCiphersSuiteForTls12FailsForTls13() throws Exception
      Tests that connections fails if TLSv1.3 enabled but cipher suite suitable only for TLSv1.2 used.
      Throws:
      Exception
    • testCiphersSuiteFailForServerTls12ClientTls13

      @Test public void testCiphersSuiteFailForServerTls12ClientTls13() throws Exception
      Tests that connections can't be made if server uses TLSv1.2 with custom cipher suite and client uses TLSv1.3.
      Throws:
      Exception
    • testCiphersSuiteForTls13

      @Test public void testCiphersSuiteForTls13() throws Exception
      Tests that connections can be made with TLSv1.3 cipher suite.
      Throws:
      Exception
    • testCiphersSuiteForTls12

      @Test public void testCiphersSuiteForTls12() throws Exception
      Tests that connections can be made with TLSv1.2 cipher suite.
      Throws:
      Exception