Panopticon 26.3
Panopticon Java Programming Guide

# Decrypt Microsoft Azure RMS Protected Files

This section describes the steps required to use Panopticon to decrypt files protected with Microsoft Azure Rights Management System (RMS) with the Java API. For more information about the objects and methods, refer to the Javadoc documentation provided in the package.

To decrypt protected files

1. Construct a `PanopticonLicense` object, using the company name and 31-character license key that OpenText has provided.

2. Start a Panopticon session by constructing a `Panopticon` object. Pass to the constructor your `PanopticonLicense` object, the absolute path of the `bin` directory in the Panopticon installation, and the absolute path of a directory where Panopticon can create temporary files.

3. Determine the type and level of support for a particular file by calling the `getEncryptionInfo()` method of the `Panopticon` object with the absolute path of the file.

4. Configure Panopticon to use the RMS credentials for your application:

   1. Construct an `RMSCredentials` object with the credentials for your application.

   2. Call the `configureRMS()` method of the `Panopticon` object.

5. If decryption is supported, decrypt the file by calling the `decryptFile()` method. Use absolute paths to specify the input file and the output file to create.

6. When you have finished using Panopticon , call the `close()` method to end the session.

   TIP: To do this automatically, use the `Panopticon` object in a try-with-resources statement.

Copyright 2020-2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction Panopticon 26.3

Topic Title: Decrypt Microsoft Azure RMS Protected Files