The reference implementation includes the following command line tools:
The requirements for using the command line tools available in the reference implementations are as follows:
Because of a Java bug, arguments that are used on the command line (such as file names, policy names, or descriptions) must use only characters from the operating system’s default character set.
Several of the command-line tools require a configuration file that contains information for the tools to use for applying policies and encrypting files.
The default configuration file is flashaccesstools.properties. It is located in the working directory; that is, the directory from which you run the tools (see Installing the command line tools). Each tool also contains an option ( -c
) that lets you point to the configuration file you want to use if you prefer not to use the default.
The configuration file uses the Java property file format. If values for any of the properties contain special characters, keep in mind the following restrictions:
C:/credentials.pfx
. To specify a file on a network server, specify \\\\server\\folder\\filename.pfx
.Set values for properties in the configuration file before you run the tools. For some of the command line tools, you can set the values for some options through either the command line or the configuration file. In those cases, values that are set through the command line take precedence over any values in the configuration file.
You can copy the files you need from the \Reference Implementation\Command Line Tools directory on the DVD, which contains the default flashaccesstools.properties configuration file, and a libs directory, which contains the JAR files for the tools.
The samples directory contains several sample Java source files demonstrating usage of the Adobe Access SDK APIs. To build and run the samples, use the build-samples.xml Ant script.