KVPanopticonEncryptionInfo

This structure is filled out by encryptionInfo(), and provides information about what type of encryption the document has, the level of support Panopticon provides for that document, and (if applicable) a suggested name for the file after decryption.

typedef struct tag_KVPanopticonEncryptionInfo
{
   KVStructHeader;
   KVPanopticonEncryption encryptionType;
   KVPanopticonDecryptionSupport decryptionSupport;
   char* suggestedOutputName;
} KVPanopticonEncryptionInfo;

Member Descriptions

KVStructHeader

The KeyView version of the structure. See KVStructHead.

encryptionType

A KVPanopticonEncryption value describing the type of encryption used to protect the document.

decryptionSupport A KVPanopticonDecryptionSupport value describing the level of support Panopticon provides for this document.
suggestedOutputName

A suggested name for the file after it has been decrypted. This name is typically the same as the original file name, with the extension changed to the corrected extension for the decrypted file.

In some cases, the suggested output name is identical to the original file name. When this occurs, ensure that you decrypt to a different path.

If Panopticon does not support decrypting the file, or it could not unambiguously determine the decrypted file type, suggestedOutputName is NULL.