It tries with an empty password, if no password is provided. In case of automatic extraction the password of course is not provided so in most cases it will fail of the document is encrypted.
Regards, Jeroen On Thu, Feb 3, 2011 at 2:23 PM, Thomas Mueller <[email protected]> wrote: > Hi, > >>IIUC bouncycastle is used for parsing encrypted pdf's > > Just curious: how does the text extraction know the encryption password? > Or is no password required? > > Regards, > Thomas > > -- Hippo ---------------------------------------------------------------------------------------------- Europe • Amsterdam Oosteinde 11 • 1017 WT Amsterdam • +31 (0)20 522 4466 USA • 755 Baywood Drive Second Floor • Petaluma CA. 94954 • +1 877 414-4776 (toll free) Canada • Montréal 5369 Boulevard St-Laurent #430 • Montréal QC H2T 1S5 • +1 (514) 316 8966 ---------------------------------------------------------------------------------------------- www.onehippo.com • www.onehippo.org • [email protected] ----------------------------------------------------------------------------------------------
