Class FipsModeUtil

java.lang.Object
org.apache.camel.quarkus.test.FipsModeUtil

public class FipsModeUtil extends Object
  • Method Details

    • findFipsProvider

      public static Optional<String> findFipsProvider(List<String> providersToMatch)
      Returns null if system is not in fips mode. Returns Optional.empty if system is in fips mode and there is some provider containing "fips" Returns Optional.name if system is in fips mode and there is a match with the provided providers (the last 2 options allows differentiate reason of the enablement/disablement)
    • isFipsMode

      public static boolean isFipsMode()
      Return true if system is in FIPS mode.