Panopticon 23.2

# encryptionInfo()

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

## Syntax

    KVPanopticonError encryptionInfo(
       KVPanopticonContext* const context,
       const char* const inputFilePath,
       KVPanopticonEncryptionInfo* const encryptionInfo /*out*/
    );

## Arguments

`context` | A pointer to `KVPanopticonContext`, initialized by calling init().
`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 `KVStructInit`.

## Returns

If the function was successful, it returns `KVP_Success`. Otherwise, it returns a KVPanopticonError value describing the problem.

## Discussion

After you call this function, you must free the memory it allocates by using resetEncryptionInfo() before you call shutdown()

Copyright 2020-2023 Open Text
Version 23.2 | Last updated March 2023

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Panopticon 23.2

Topic Title: encryptionInfo()