Annotation Interface EnabledIfFipsMode


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @ExtendWith(EnabledIfFipsModeCondition.class) public @interface EnabledIfFipsMode
Advertises that a test should be enabled if the JDK has FIPS enabled security providers present.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The list of FIPS security provider names to match against for enabling the test.
  • Element Details

    • providers

      String[] providers
      The list of FIPS security provider names to match against for enabling the test. If no providers are specified, the default behaviour is to try to match any provider that has FIPS in its name.
      Returns:
      The list of security provider names.
      Default:
      {}