Encrypt
Description
This application will encrypt a PDF document.
Command Line Parameter | Type | Default Value | Description |
---|---|---|---|
-O <password> | string | None | The owner password to the PDF. |
-U <password> | string | None | The user password to the PDF. |
-canAssemble <value> | boolean | true | Set the assemble permission. |
-canExtractContent <value> | boolean | true | Set the extraction permission. |
-canExtractForAccessibility <value> | boolean | true | Set the extraction permission. |
-canFillInForm <value> | boolean | true | Set the fill in form permission. |
-canModify <value> | boolean | true | Set the modify permission. |
-canModifyAnnotations <value> | boolean | true | Set the modify annots permission. |
-canPrint <value> | boolean | true | Set the print permission. |
-canPrintDegraded <value> | boolean | true | Set the print degraded permission. |
-keyLength <value> | integer | 40 | The number of bits for the encryption key. |
-version <value> | integer | 1 | Set the encryption version. 0 - Undocumented/Unpublished 1 - Allows for 40 bit encryption 2 - Allows for variable length encryption 3 - Unpublished but allows for key lengths from 40 to 128 4 - Security handler defines encryption |
-revision <value> | integer | 2 | Set the encryption revision. 2 - version less than 2 3 - version 2 or 3 or uses a revision 3 permission 4 - version of 4 |
<inputfile> | filename | None | The PDF file to encrypt. |
[outputfile] | filename | The input file. | The file to save the encrypted document to. If left blank then it will be the same as the input file. |