PDFBox comes with a version of BouncyCastle that will work. It is likely that other versions will also work as well.

Is there a specific version that you have tried and didn't work?

Ben

Quoting Alixandre Santana <[EMAIL PROTECTED]>:

Hi All,

I got this error when i tried to decrypt a pdf document encrypted by
com.lowagie.text.pdf.PdfEncryptor class, with a null password:

"java.lang.NoClassDefFoundError: org/bouncycastle/cms/CMSException"

Does anyone know which version of Bouncy Castle is the right one to
use with PDFBox API? i dont know anything about Bouncy Castle.

I´m using the LucenePdfDocument Class, from the PDFBox API to decrypt
the document, with a  null password.

Thanks in advance.
Alixandre

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to