Install Guide
Binary Installation 11
RSA BSAFE Cert-J 6.2.4 Installation Guide
8. Cert-J uses CTRDRBG128 as the default random algorithm where no other random
algorithm is specified.
Use the security property
com.rsa.crypto.default.random to change this
as required. The following are valid values for this security property:
The installation of
Cert-J is complete. For information on how to run the sample
code, see Build and Run the Samples.
Build and Run the Samples
The following procedure for running the sample code is applicable only for the binary
toolkit.
The Cert-J samples are located in
<root>/certj/sample/src/certj.
There are two ways to build and run the samples for Cert-J: use the Integrated
Development Environment (IDE) project files, or use the build scripts:
• Use IDE project files
The project files to build and run the samples have been included for the following
development environments:
– JetBrains IntelliJ 9.0 IDE or newer
– Eclipse 3.3 IDE or newer.
These project files are located at
<root>/certj.
• Use Apache Ant build scripts
Build scrips to build and run the samples are located at
<root>/certj.
Ensure that the execution path will allow the ant command to be executed.
To build the sample code:
1. Navigate to the certj directory:
cd <root>/certj
2. Build the samples:
ant -f build-certj.xml
To run the sample code:
1. Run the samples from the certj directory.
a. To run all of the samples:
ant -f build-certj.xml run.all
b. To run a specific sample, specify the sample name. For example:
ant -f build-certj.xml run.VerifyCertificate
• CTRDRBG
• CTRDRBG128
• CTRDRBG192
• CTRDRBG256
• HASHDRBG
• HASHDRBG128
• HASHDRBG192
• HASHDRBG256
• HMACDRBG
• HMACDRBG128
• HMACDRBG192
• HMACDRBG256