Package jenkins.security
Class FIPS140
- java.lang.Object
-
- jenkins.security.FIPS140
-
public class FIPS140 extends Object
Utilities to help code change behaviour when it is desired to run in a FIPS-140 enabled environment. The environment (host, JVM and servlet container), must be suitably configured which is outside the scope of the Jenkins project.- Since:
- 2.426
- See Also:
- FIPS-140-2, JEP-237
-
-
Constructor Summary
Constructors Constructor Description FIPS140()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
useCompliantAlgorithms()
Provide a hint that the system should strive to be compliant with FIPS-140-2.
-
-
-
Method Detail
-
useCompliantAlgorithms
public static boolean useCompliantAlgorithms()
Provide a hint that the system should strive to be compliant with FIPS-140-2. This can be used by code that needs to make choices at runtime whether to disable some optional behaviour that is not compliant with FIPS-140, or to switch to a compliant (yet less secure) alternative. If this returnstrue
it does not mean that the instance is compliant, it merely acts as a hint.- Returns:
true
iff the system should prefer compliance with FIPS-140-2 over compatibility with existing data or alternative non approved algorithms.
-
-