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
-
Dynamically load the
panopticon
shared library. -
Obtain a handle to KVPanopticonGetInterface().
-
Obtain function pointers for the library methods by calling KVPanopticonGetInterface().
-
Initialise Panopticon by calling init().
-
Configure Panopticon to use the RMS credentials for your application by calling configureRMS().
-
Determine the level of support for decrypting a particular file by calling encryptionInfo().
-
Free the memory allocated by encryptionInfo(), by calling resetEncryptionInfo().
-
If decryption is supported, decrypt the file by calling decryptFile().
-
Repeat steps 6 to 8 for any additional files.
-
Terminate the Panopticon session by calling shutdown().
-
Free the
panopticon
shared library.