Class FipsConfigValidationTest
java.lang.Object
org.apache.kafka.common.security.fips.FipsConfigValidationTest
Test to verify FIPS cipher suites against actual security providers.
This test helps validate that our configured cipher suites are actually
supported by the security providers (BouncyCastle FIPS, SunJSSE, etc.)
NOTE: This test requires BouncyCastle FIPS provider to be on the classpath.
It will be skipped if the provider is not available.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidTest cipher suites against BouncyCastle FIPS provider if available.voidThis test verifies cipher suites against the default SSL provider (SunJSSE).voidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
FipsConfigValidationTest
public FipsConfigValidationTest()
-
-
Method Details
-
testFips1402ConfigIsNotEmpty
@Test public void testFips1402ConfigIsNotEmpty() -
testFips1403ConfigIsNotEmpty
@Test public void testFips1403ConfigIsNotEmpty() -
testFips1403HasMoreCipherSuitesThanFips1402
@Test public void testFips1403HasMoreCipherSuitesThanFips1402() -
testFips1403IncludesTls13CipherSuites
@Test public void testFips1403IncludesTls13CipherSuites() -
testFips1402DoesNotIncludeTls13CipherSuites
@Test public void testFips1402DoesNotIncludeTls13CipherSuites() -
testFips1403IncludesGcmCipherSuites
@Test public void testFips1403IncludesGcmCipherSuites() -
testCipherSuitesAgainstDefaultProvider
@Test public void testCipherSuitesAgainstDefaultProvider() throws NoSuchAlgorithmException, KeyManagementExceptionThis test verifies cipher suites against the default SSL provider (SunJSSE). It will show which of our configured cipher suites are actually supported. -
testCipherSuitesAgainstBouncyCastleFips
-
testTlsProtocolsAreConsistent
@Test public void testTlsProtocolsAreConsistent() -
testBrokerAndRestProtocolsAreAvailable
@Test public void testBrokerAndRestProtocolsAreAvailable() -
testLdapProtocolsAreAvailable
@Test public void testLdapProtocolsAreAvailable()
-