{"action":"opened","issue":{"url":"https://api.github.com/repos/opensagres/xdocreport/issues/50","labels_url":"https://api.github.com/repos/opensagres/xdocreport/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/opensagres/xdocreport/issues/50/comments","events_url":"https://api.github.com/repos/opensagres/xdocreport/issues/50/events","html_url":"https://github.com/opensagres/xdocreport/issues/50","id":93740196,"number":50,"title":"java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1OctetString","user":{"login":"felixruponen","id":5947704,"avatar_url":"https://avatars.githubusercontent.com/u/5947704?v=3","gravatar_id":"","url":"https://api.github.com/users/felixruponen","html_url":"https://github.com/felixruponen","followers_url":"https://api.github.com/users/felixruponen/followers","following_url":"https://api.github.com/users/felixruponen/following{/other_user}","gists_url":"https://api.github.com/users/felixruponen/gists{/gist_id}","starred_url":"https://api.github.com/users/felixruponen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixruponen/subscriptions","organizations_url":"https://api.github.com/users/felixruponen/orgs","repos_url":"https://api.github.com/users/felixruponen/repos","events_url":"https://api.github.com/users/felixruponen/events{/privacy}","received_events_url":"https://api.github.com/users/felixruponen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-08T09:08:05Z","updated_at":"2015-07-08T09:08:05Z","closed_at":null,"body":"When trying to encrypt pdf using PDFWriter the following error is thrown:\r\n\r\nat com.lowagie.text.pdf.PdfEncryption.<init>(Unknown Source)\r\n\tat com.lowagie.text.pdf.PdfWriter.setEncryption(Unknown Source)\r\n\tat se.newseed.pdfservice.PdfService$PdfServiceThread$1.configure(PdfService.java:260)\r\n\tat fr.opensagres.xdocreport.itext.extension.ExtendedDocument.<init>(ExtendedDocument.java:64)\r\n\tat org.odftoolkit.odfdom.converter.pdf.internal.stylable.StylableDocument.<init>(StylableDocument.java:76)\r\n\tat org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.<init>(ElementVisitorForIText.java:148)\r\n\tat org.odftoolkit.odfdom.converter.pdf.PdfConverter.processBody(PdfConverter.java:114)\r\n\tat org.odftoolkit.odfdom.converter.pdf.PdfConverter.doConvert(PdfConverter.java:65)\r\n\tat org.odftoolkit.odfdom.converter.pdf.PdfConverter.doConvert(PdfConverter.java:43)\r\n\tat org.odftoolkit.odfdom.converter.core.AbstractODFConverter.convert(AbstractODFConverter.java:42)\r\n\tat fr.opensagres.xdocreport.converter.odt.odfdom.itext.ODF2PDFViaITextConverter.convert(ODF2PDFViaITextConverter.java:62)\r\n\tat fr.opensagres.xdocreport.document.AbstractXDocReport.convert(AbstractXDocReport.java:713)\r\n\t... 2 more\r\nCaused by: java.lang.ClassNotFoundException: org.bouncycastle.asn1.ASN1OctetString\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:366)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:355)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:354)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:425)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:358)\r\n\t... 14 more\r\n\r\nThis stackOverFlow thread explains that backward compatibility issues with iText exists with newer versions of the BouncyCastle libraries\r\n\r\nhttp://stackoverflow.com/questions/10391271/itext-bouncycastle-classnotfound-org-bouncycastle-asn1-derencodable-and-org-boun\r\n\r\n\r\nIs there anyway that I can use a lower version of bounty castle?  \r\n\r\n\r\n"}}