To use the Federal Information Processing Standard (FIPS) 140-2 feature, you must first
enable the FIPS 140-2 optional feature.
About this task
After the optional feature is enabled, it must then be configured as described in the
What
to do next section. After the FIPS 140-2 optional feature is enabled and configured, this
feature applies both to HTTPS and JSONStore data encryption.
Note: FIPS 140-2
is only supported on Android and iOS. The iOS architectures that support FIPS 140-2 are
i386, armv7, armv7s,
x86_64, and arm64. The Android architectures that support
FIPS 140-2 are x86 and
armeambi.
Note: On Android, FIPS 140-2 is not supported on 64-bit architecture
even though the
MobileFirst library
does support 64-bit architecture. When you use FIPS 140-2 on a 64-bit device, you might see the
following
error:
java.lang.UnsatisfiedLinkError: dlopen failed: "..." is 32-bit instead of 64-bit
This
error means that you have 64-bit native libraries in your Android project, and FIPS 140-2 does not
currently work when you use these libraries. To confirm, go to
src/main/libs or
src/main/jniLibs under your Android project, and check whether you have the
x86_64 or
arm64-v8a folders. If you do, delete these
folders, and FIPS 140-2 can work again.
Note: The following considerations apply to
enabling FIPS 140-2 on Cordova apps:
To use the FIPS 140-2 feature on the Android or iOS operating systems,
complete the following steps: