You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by John Sutton <js...@gmail.com> on 2014/06/28 01:13:00 UTC

AES encryption

Hi,
I love PDFBox! So many great features! And it works great! Question for you:

There is a setAES() method of the StandardSecurityHandler class, but when I
try to use it I get an error saying "AES encryption is not yet implemented."

A contributor, Manuel, was able to provide a patch 3 months ago and signed
a CLA:
https://issues.apache.org/jira/browse/PDFBOX-1594

I assume that means that AES encryption will be available soon. I have been
checking in to see the updates over the past few releases, but I have not
see anything about AES encryption in the release notes. I'm using a c#
build of PDFBox (v1.8.5) and I don't know how to apply the patch to the
java library before building it in c#. Is AES encryption expected to be
implemented soon?

Thanks!
-John

Re: AES encryption

Posted by Andreas Lehmkühler <an...@lehmi.de>.
Hi,

> John Sutton <js...@gmail.com> hat am 28. Juni 2014 um 01:13 geschrieben:
>
>
> Hi,
> I love PDFBox! So many great features! And it works great! Question for you:
>
> There is a setAES() method of the StandardSecurityHandler class, but when I
> try to use it I get an error saying "AES encryption is not yet implemented."
>
> A contributor, Manuel, was able to provide a patch 3 months ago and signed
> a CLA:
> https://issues.apache.org/jira/browse/PDFBOX-1594
>
> I assume that means that AES encryption will be available soon. I have been
> checking in to see the updates over the past few releases, but I have not
> see anything about AES encryption in the release notes. I'm using a c#
> build of PDFBox (v1.8.5) and I don't know how to apply the patch to the
> java library before building it in c#. Is AES encryption expected to be
> implemented soon?
PDFBOX-1594 gives any information you are looking for. AES support will be part
of the next major release 2.0

But keep in mind that advanced features like encryption may not work using the
c# "port" of PDFBox as IKVM which is used to build the .NET version has a lot of
limitations.

> Thanks!
> -John

BR
Andreas Lehmkühler