Package jenkins.security
Class FIPS140
java.lang.Object
jenkins.security.FIPS140
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:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic booleanProvide a hint that the system should strive to be compliant with FIPS-140-2. 
- 
Constructor Details
- 
FIPS140
public FIPS140() 
 - 
 - 
Method Details
- 
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 returnstrueit does not mean that the instance is compliant, it merely acts as a hint.- Returns:
 trueiff the system should prefer compliance with FIPS-140-2 over compatibility with existing data or alternative non approved algorithms.
 
 -