Prerequisites

  • Ensure the following files are present in $FIC_HOME/utility/DMT/encryption/bin folder.
  • dmtfileencryption.sh
  • aai-dmt-encryption.jar
  • log4j-core*.jar
  • log4j-api*.jar
  • Since the utility uses AES 256 bit encryption, it is mandatory to apply policy files. Perform the following instructions to apply policy files:
    1. Download the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files from Oracle. Be sure to download the correct policy file updates for your version of Java (Java 7 or 8).
    2. Uncompress and extract the downloaded file. The download includes a Readme.txt and two .jar files with the same names as the existing policy files.
    3. Locate the two existing policy files inside the folder <java-jre-home>/lib/security/.
      • local_policy.jar
      • US_export_policy.jar
    4. Replace the existing policy files with the unlimited strength policy files you extracted.

To run the utility directly from the console:

  1. Navigate to $FIC_HOME/utility/DMT/encryption/bin folder.
  2. Execute ./dmtfileencryption.shwith the following arguments:

    Table 16-13 Argument Descriptions and their Values

    Argument Name Description Value
    MODE Specify the mode of operation
    • genkey
    • encrypt_file
    • decrypt_file

    For more information, see Modes of Operation section.

    KEYFILE Absolute path of key file with key file name.
    INPUTFILE Absolute path of input file with input file name.
    OUTPUTFILE Absolute path of output file with output file name.