# 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. Free the memory allocated by encryptionInfo(), by calling resetEncryptionInfo().

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

9. Repeat steps 6 to 8 for any additional files.

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

11. Free the `panopticon` shared library.

_FT_HTML5_bannerTitle.htm