pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilad Denneboom <gilad.denneb...@gmail.com>
Subject Re: Using the .net version of PDFBox
Date Fri, 12 Apr 2019 17:36:45 GMT
So if I use the save command on it it will be saved as a non-encrypted file?

On Fri, Apr 12, 2019 at 6:31 PM Tilman Hausherr <tilman@apache.org> wrote:

> You don't need it. After loading your PDF is decrypted.
>
> Tilman
>
> On 2019/04/12 13:52:53, Gilad Denneboom <gilad.denneboom@gmail.com>
> 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 <woodkr@ugcorp.com> 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: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message