<?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>Decrypt</title> 
  </header> 
  <body> 
    <section>
      <title>Description</title>
      <p>This application will decrypt a PDF document.</p>
      <note>You must have the owner password to decrypt the document!</note>
      <p>usage: java org.pdfbox.Decrypt [OPTIONS] &lt;inputfile&gt; [outputfile]</p>
      <table>
          <tr>
      		<th>Command Line Parameter</th>
      		<th>Type</th>
      		<th>Default Value</th>
      		<th>Description</th>
      	  </tr>
      	  <tr>
      	  	<td>-password</td>
      	  	<td>string</td>
      	  	<td>None</td>
      	  	<td>Password to the PDF or certificate in keystore.</td>
      	  </tr>
      	  <tr>
      	  	<td>-keyStore</td>
      	  	<td>string</td>
      	  	<td>None</td>
      	  	<td>Path to keystore that holds certificate to decrypt the document.  This is only required if the document is encrypted with a certificate, otherwise only the password is required.</td>
      	  </tr>
      	  <tr>
      	  	<td>-alias</td>
      	  	<td>string</td>
      	  	<td>None</td>
      	  	<td>The alias to the certificate in the keystore.</td>
      	  </tr>
      	  <tr>
      	  	<td>&lt;inputfile&gt;</td>
      	  	<td>filename</td>
      	  	<td>None</td>
      	  	<td>The PDF file to decrypt.</td>
      	  </tr>
      	  <tr>
      	  	<td>[outputfile]</td>
      	  	<td>filename</td>
      	  	<td>The output file</td>
      	  	<td>The file to save the decrypted document to.  If left blank then it will be the same as the input file.</td>
      	  </tr>
      </table>
    </section>
  </body>
</document>
