<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
<document> 
  <header> 
    <title>Encrypt</title> 
  </header> 
  <body> 
    <section>
      <title>Description</title>
      <p>This application will encrypt a PDF document.</p>
      <table>
          <tr>
      		<th>Command Line Parameter</th>
      		<th>Type</th>
      		<th>Default Value</th>
      		<th>Description</th>
      	  </tr>
      	  <tr>
      	  	<td>-O &lt;password&gt;</td>
      	  	<td>string</td>
      	  	<td>None</td>
      	  	<td>The owner password to the PDF.</td>
      	  </tr>
      	  <tr>
      	  	<td>-U &lt;password&gt;</td>
      	  	<td>string</td>
      	  	<td>None</td>
      	  	<td>The user password to the PDF.</td>
      	  </tr>
      	  <tr>
      	  	<td>-canAssemble &lt;value&gt;</td>
      	  	<td>boolean</td>
      	  	<td>true</td>
      	  	<td>Set the assemble permission.</td>
      	  </tr>
      	  <tr>
      	  	<td>-canExtractContent &lt;value&gt;</td>
      	  	<td>boolean</td>
      	  	<td>true</td>
      	  	<td>Set the extraction permission.</td>
      	  </tr>
      	  <tr>
      	  	<td>-canExtractForAccessibility &lt;value&gt;</td>
      	  	<td>boolean</td>
      	  	<td>true</td>
      	  	<td>Set the extraction permission.</td>
      	  </tr>
      	  <tr>
      	  	<td>-canFillInForm &lt;value&gt;</td>
      	  	<td>boolean</td>
      	  	<td>true</td>
      	  	<td>Set the fill in form permission.</td>
      	  </tr>
      	  <tr>
      	  	<td>-canModify &lt;value&gt;</td>
      	  	<td>boolean</td>
      	  	<td>true</td>
      	  	<td>Set the modify permission.</td>
      	  </tr>
      	  <tr>
      	  	<td>-canModifyAnnotations &lt;value&gt;</td>
      	  	<td>boolean</td>
      	  	<td>true</td>
      	  	<td>Set the modify annots permission.</td>
      	  </tr>
      	  <tr>
      	  	<td>-canPrint &lt;value&gt;</td>
      	  	<td>boolean</td>
      	  	<td>true</td>
      	  	<td>Set the print permission.</td>
      	  </tr>
      	  <tr>
      	  	<td>-canPrintDegraded &lt;value&gt;</td>
      	  	<td>boolean</td>
      	  	<td>true</td>
      	  	<td>Set the print degraded permission.</td>
      	  </tr>
      	  <tr>
      	  	<td>-keyLength &lt;value&gt;</td>
      	  	<td>integer</td>
      	  	<td>40</td>
      	  	<td>The number of bits for the encryption key.</td>
      	  </tr>
      	  <tr>
      	  	<td>-version &lt;value&gt;</td>
      	  	<td>integer</td>
      	  	<td>1</td>
      	  	<td>Set the encryption version.<br />
	      	  	0 - Undocumented/Unpublished<br />
				1 - Allows for 40 bit encryption<br />
				2 - Allows for variable length encryption<br />
				3 - Unpublished but allows for key lengths from 40 to 128<br />
				4 - Security handler defines encryption
      	  	
      	  	</td>
      	  </tr>
      	  <tr>
      	  	<td>-revision &lt;value&gt;</td>
      	  	<td>integer</td>
      	  	<td>2</td>
      	  	<td>Set the encryption revision. <br />
				2 - version less than 2<br />
				3 - version 2 or 3 or uses a revision 3 permission<br />
				4 - version of 4
      	  	</td>
      	  </tr>
      	  <tr>
      	  	<td>&lt;inputfile&gt;</td>
      	  	<td>filename</td>
      	  	<td>None</td>
      	  	<td>The PDF file to encrypt.</td>
      	  </tr>
      	  <tr>
      	  	<td>[outputfile]</td>
      	  	<td>filename</td>
      	  	<td>The input file.</td>
      	  	<td>The file to save the encrypted document to.  If left blank then it will be the same as the input file.</td>
      	  </tr>
      </table>
    </section>
  </body>
</document>
