Command line usage

To generate a license, use the following syntax:

    java -jar AdobeLicenseGenerator.jar -m 
<i class="+ topic ph hi-d="" i "="">
 metadata 
 <i class="+ topic ph hi-d="" i "="">
   [options]
 </i class="+ topic>
</i class="+ topic>

metadata is a .metadata file containing the Adobe Access DRM metadata. This file can be obtained from protected content using the -d -m option of Media Packager.

To display a previously generated license, use the following syntax:

    java -jar AdobeLicenseGenerator.jar -d 
<i class="+ topic ph hi-d="" i "="">
  license
</i class="+ topic>

license is a file containing a Adobe Access license generated by the License Generator.

The following table describes the command line options that can be specified along with the syntax previously mentioned:

Command Line Option

Description

-c configfile Specify the location of the configuration file. If this option is not used, the License Generator will look for flashaccesstools.properties in the working directory. Options specified on the command line take precedence over those present in the configuration file.

-d licensefile

Show information about a license that was already generated.
-leaf leaf-filename Generate a leaf license and write the output to a specified file.
-m metadata-filename Specify the content metadata for which to generate a license. (Required to generate license)
-noprompt Do not ask if the destination file should be overwritten. If the destination file already exists and -o is not set, an error will be returned.
-o If the destination file already exists, overwrite it without prompting.
-policy policy-num If the metadata contains multiple policies, specify the number of the policy to use (starting at 1) to generate the license. If not specified, the first policy is used.
-r recipient-cert Generate a license for the specified recipient. A device or domain certificate may be used. Multiple -r options may be specified to create a license for multiple recipients.
-root root-filename Generate a root license and write the output to the specified file.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now