You don't need it. After loading your PDF is decrypted. Tilman
On 2019/04/12 13:52:53, Gilad Denneboom <[email protected]> wrote: > The openProtection seems to be missing from PDFBox 2.x, so how can I do it > using that version, please? > > On Tue, Nov 1, 2016 at 10:35 PM Keith R Wood <[email protected]> wrote: > > > I added these two lines to my code where you said, and everything seems to > > be working for me now. > > > > StandardDecryptionMaterial dm = new StandardDecryptionMaterial(""); > > doc.openProtection(dm); > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

