This function detects the type of encryption applied to a document, and information about the level to which Panopticon supports decryption. This information can be used to determine whether this file should be passed to decryptFile().
KVPanopticonError encryptionInfo( KVPanopticonContext* const context, const char* const inputFilePath, KVPanopticonEncryptionInfo* const encryptionInfo /*out*/ );
context
|
A pointer to |
inputFilePath
|
A null-terminated C string that contains the path of the file to get encryption info for. |
encryptionInfo
|
A pointer to a KVPanopticonEncryptionInfo. If the function completes successfully, it fills this structure out with the encryption information. You must initialize the KVStructHead structure by using the macro |
If the function was successful, it returns KVP_Success
. Otherwise, it returns a KVPanopticonError value describing the problem.