title: pdfbox document is encrypted error
body: <p>I have a <a href="http://sdrv.ms/WoimbF" rel="nofollow">pdf document</a> which I am parsing with pdfbox. The document is not encrypted, I can open the document. However, following lines of code from PDFBox</p>
  
  <pre><code>    try
          {
              document = PDDocument.load( inpFilename);
  
  
              if( document.isEncrypted() )
              {
                  System.err.println( "Error: Document is encrypted with a password." );
                  return;
  
              }
  </code></pre>
  
  <p>creates the error: <code>"Error: Document is encrypted with a password."</code>. Any idea why is that happening? Are there various kinds of pdf encryption (allows you to read, but not process with pdfbox)? </p>