next up previous contents index
Next: Standard Input and Standard Up: Basic Usage Previous: Input Ranges   Contents   Index


Working with Encrypted Documents

In order to perform many operations, encrypted input PDF files must be decrypted. Some require the owner password, some either the user or owner passwords. Either password is supplied by writing user=<password> or owner=<password> following each input file requiring it (before or after any range). The document will not be re-encrypted upon writing. For example:



To re-encrypt the file with its existing encryption upon writing, which is required if only the user password was supplied, but allowed in any case, add the -recrypt option:



The password required (owner or user) depends upon the operation being performed. Separate facilities are provided to decrypt and encrypt files (See Section [*]).



root 2014-11-28