Quick Start
CADP for Java can be deployed using:
Prerequisites
Any of the supported Java versions must be installed.
The encryption policy files for unlimited strength ciphers (US_export_policy.jar and local_policy.jar) should be downloaded. For Java 8, these files should be installed in the
JRE_HOME/lib/security
directory. For Java 10 and higher versions, the encryption policy files are not required to be installed separately.Note
For Sun/Oracle or IBM Java, download the corresponding version of the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files.
Post Installation Steps
Post installation steps ensures that application is ready and properly configured. Below are some steps which must be performed after the installation.
Configure the
CADP_for_JAVA.properties
file. These properties determine how the CADP for Java Provider communicates with the Key Manager. You can configure these properties using theCADP_for_JAVA.properties
file or by setting individual properties in your application. Refer to Configuration Parameters for details.Import Ingrian package. The interface to the CADP for Java Provider requires only a few packages to perform cryptographic operations. Before your application can use the CADP for Java Provider, you have to import the Ingrian package that contains the Java–related class files. This is done in the first line of code below. This code must be present in all applications that use the CADP for Java Provider. This package is contained in the signed CADP for Java jar file (CADP_for_JAVA-8.17.1.000.jar). The next two lines import the other standard packages needed to perform crypto operations.
import com.ingrian.security.nae.*; import java.security.*; import javax.crypto.*;
Explore CADP for Java samples available on Github.
What's Next
After deploying CADP for Java, based on your needs, you can go through any of these topics:
Tasks: Contains the list of tasks that can be performed by a CADP for Java developer.
Advance: Describes some concepts of CADP for Java.
Troubleshooting: Provide some tips to overcome issues that you might face while using CADP for Java.