# 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).

To use Panopticon

1. Dynamically load the `panopticon` shared library.

2. Obtain a handle to KVPanopticonGetInterface().

3. Obtain function pointers for the library methods by calling KVPanopticonGetInterface().

4. Initialise Panopticon by calling init().

5. Configure Panopticon to use the RMS credentials for your application by calling configureRMS().

6. Determine the level of support for decrypting a particular file by calling encryptionInfo().

7. If decryption is supported, decrypt the file by calling decryptFile().

8. Repeat steps 6 and 7 for any additional files.

9. Terminate the Panopticon session by calling shutdown().

10. Free the `panopticon` shared library.

_FT_HTML5_bannerTitle.htm