Install Guide

32 Source Installation for Android
RSA BSAFE SSL-J 6.2.6 Installation Guide
Build and run the system tests from the Command Line
To build and run the system test application from the Command Line:
1. In the development environment, navigate to the Android test directory:
cd root/sslj/android/BsafeAndroid
2. Create the Gradle wrapper:
gradle wrapper --gradle-version=version
--gradle-distribution-url=url
Where:
version is the installed version of Gradle.
url is optional, provided where Gradle is already downloaded, in the format
file://full_path/gradle-distribution-zipfile.
If not specified, the wrapper task downloads a new Gradle distribution.
3. Install and run the test application on all attached devices:
For systems running a Windows operating system:
./gradlew.bat testAll
For systems running a Unix-like operating system:
./gradlew testAll
4. View root/sslj-src/android/BsafeAndroid/build/reports to
verify the results of each test.
Build the system tests from Android Studio
System test applications are available in four build variants for the sslj module:
ssljDebug - non-FIPS 140-2 mode with the Pure Java implementation
ssljFipsDebug - FIPS 140-2 mode with the Pure Java implementation
ssljNativeDebug - non-FIPS 140-2 mode with the Native implementation
ssljNativeFipsDebug - FIPS 140-2 mode with the Native implementation.
Before you Begin:
1. In the development environment, launch Android Studio.
2. Open the Android test project,
BsafeAndroid.
This downloads the Gradle zip file and initializes Gradle to use the Gradle
wrapper. The process may take from 10 to 20 minutes.
To install the test application on the attached device:
1. In the development environment, navigate to the sslj module in Project explorer.
2. Select the required build variant.