You have to decrypt it first... If can specify the password as the second
parameter of the load method of PDDocument.

On Wed, Dec 2, 2015 at 6:10 PM, Sharki Chacko <[email protected]>
wrote:

> >
> > Hi
> >
> > I have an encrypted PDF file without a password. The
> > statement, (PDPage)_document.getDocumentCatalog().getAllPages() returns
> > null because of that. I just want to know what else I can try to get the
> > pages of the encrypted PDF file?
> >
> > Thanks,
> > Sharki
> >
>

Reply via email to