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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanProvide a hint that the system should strive to be compliant with FIPS-140-2.
- 
Constructor Details- 
FIPS140public FIPS140()
 
- 
- 
Method Details- 
useCompliantAlgorithmspublic 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.
 
 
-