Re: Extraction of text from secured PDFs throws runtime exception

2015-01-15 Thread Chris Bamford
Thanks Tilman - I'll try your suggestions. Chris Bamford m: +44 7860 405292 www.mimecast.com Mimecast CityPoint One Ropemaker Street, London, EC2Y 9AW +44 (0) 207 847 8700 On 15 Jan 2015, at 17:45, Tilman Hausherr mailto:thaush...@t-online.de>> wrote: Hi, always use

Re: Extraction of text from secured PDFs throws runtime exception

2015-01-15 Thread Tilman Hausherr
Hi, always use the latest version of PDFBox, which is 1.8.8. I don't know what happens in "PdfUtil.decryptPDFDoc". The correct call is openProtection(). Tilman Am 15.01.2015 um 18:02 schrieb Chris Bamford: Hi Chris Bamford m: +44 7860 405292 w: www.mimecast.com

Re: Extraction of text from secured PDFs throws runtime exception

2015-01-15 Thread Maruan Sahyoun
Hi, you can find the pom.xml used for the 1.8.6 release at http://svn.apache.org/viewvc/pdfbox/tags/1.8.6/pdfbox/pom.xml?view=markup to verify your settings. BR Maruan Am 15.01.2015 um 18:02 schrieb Chris Bamford : > > Hi > > > Chris Bamford m: +44 7860 405292 w: www.mimecast.com > S

Extraction of text from secured PDFs throws runtime exception

2015-01-15 Thread Chris Bamford
Hi I recently noticed the following runtime exception in my application when trying to extract text from secured PDFs: java.lang.VerifyError: (class: org/bouncycastle/cms/CMSSignedDataParser, method: replaceSigners signature: (Ljava/io/InputStream;Lorg/bouncycastle/cms/SignerInformationStore;