Task PDF - Decrypt
The PDF - Decrypt Task removes the password or Certificate encryption from PDF files.
The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.
Decrypt: Main settings tab

The Task finds out how each file is encrypted and uses the matching setting. Set at least one of them.
-
Certificate (Decrypt by ... group): the Certificate for a file that is encrypted with a Certificate; see Global - Certificates
-
Owner password: the owner password of a password-encrypted file
The Task tries the owner password first.
-
User password: the user password, tried when the owner password does not open the file
File filter tab
The File filter tab selects the PDF files to decrypt; see File Filter. If the filter has a Credential, the Task uses it while it reads and writes the files. When the logon with the Credential fails, the Task continues as the account that runs the Server and writes the error to the Server log.
Destination tab

-
Same file (Save to.. group): saves the decrypted file over the source file
-
Same folder but use file mask: saves the decrypted file in the folder set on the File filter tab, named by File mask
-
Different folder and use file mask: saves the decrypted file in Folder, named by File mask
-
Folder: the destination folder for Different folder and use file mask; click the folder button to browse
-
File mask: builds the new file name from the source file name, by the renaming standard set in Main - Settings
The default
*keeps the source file name.
Same file replaces the source file. With the default File mask *, Same folder but use file mask also replaces a source file that is in the File filter folder. A file that already has the new name is replaced without a prompt.
When Include sub folders is checked on the File filter, Same folder but use file mask saves every result in the File filter folder, not in the subfolder the source file came from.
Output and errors
The Task output contains "Success" for each file it decrypts. A file that is neither encrypted nor signed raises an error, and so does a password that does not open the file. A signed file that is not encrypted, or a password-encrypted file with both password boxes empty, is left as it is, and the Task reports success.
When the selected Certificate no longer exists and no password is set, the file is not decrypted, and the Task reports success. With Same folder but use file mask or Different folder and use file mask, the Task copies the source file to the destination before it decrypts it, so a file that is not decrypted stays there encrypted.