Skip to main content

EdxPDFEncryptionException Class

The exception class for PDF document encryption errors.

Declaration

EdxPDFEncryptionException = class(
    EdxPDFException
)

Remarks

This exception is raised if an error occurs during document encryption or decryption. For instance, a EdxPDFEncryptionException error occurs when:

  • An end user fails the last attempt to enter a user or owner password to open an encrypted document.

  • A document save routine attempts to encrypt the document with an unsupported algorithm. For instance, a PDF document container’s SaveToFile or SaveToStream procedure call results in an EdxPDFEncryptionException error if the SecurityOptions.Enabled property is set to True, and the SecurityOptions.Algorithm property is set to eatAES. The message box shows the following message: “The AES algorithm is not supported for file encryption”.

Inheritance

See Also