Discuss this help topic in SecureBlackbox Forum

Check if document is encrypted or signed

To check if the Office document is encrypted or signed you need to use IsEncrypted or IsSigned properties of TElOfficeDocument class.

If the document is encrypted you can use TElOfficeDocument.EncryptionHandler property to find out the name of encryption handler, encryption algorithm and other encryption parameters.

If the document is signed you can use SignatureHandlerCount and SignatureHandlers properties of TElOfficeDocument class to read and verify signatures.

How To articles about common Office tasks

Discuss this help topic in SecureBlackbox Forum