julio2897 Posted December 10, 2018 Share Posted December 10, 2018 Hi, I'm new using jasper ireport designer and I've been trying to protect a pdf report encrytping the document using the following properties:<property name="net.sf.jasperreports.export.pdf.encrypted" value="True"/><property name="net.sf.jasperreports.export.pdf.128.bit.key" value="True"/><property name="net.sf.jasperreports.export.pdf.user.password" value="mySuperPass"/><property name="net.sf.jasperreports.export.pdf.owner.password" value="mySuperPass"/>[/code]But it seems to not been working at all; I have the guess that it's something related to the jasper version I'm currently using(cannot be changed at this point).I'll be grateful for any help! Link to comment Share on other sites More sharing options...
reportdev Posted December 10, 2018 Share Posted December 10, 2018 iReports is not supported.Start using Jasper Studio. Those properties work fine in the Studio. https://community.jaspersoft.com/project/jaspersoft-studio Link to comment Share on other sites More sharing options...
hozawa Posted December 11, 2018 Share Posted December 11, 2018 Unfortunately, iReport development have ceased a long time ago and there is currently no support. If you can't version up, then you can only use what you can. Link to comment Share on other sites More sharing options...
franky4 Posted January 4, 2019 Share Posted January 4, 2019 The mentioned properties don't work (anymore) with Jaspersoft Studio Community ed. 6.6.0:java.lang.VerifyError: (class: com/lowagie/text/pdf/PdfPublicKeySecurityHandler, method: createDERForRecipient signature: ([bLjava/security/cert/X509Certificate;)Lorg/bouncycastle/asn1/ASN1Primitive;) Incompatible argument to function at com.lowagie.text.pdf.PdfEncryption.<init>(Unknown Source) at com.lowagie.text.pdf.PdfWriter.setEncryption(Unknown Source) at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:720) at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:552) at com.jaspersoft.studio.editor.preview.actions.export.AExportAction.exportWithProgress(AExportAction.java:223) at com.jaspersoft.studio.editor.preview.actions.export.AExportAction.doPreview(AExportAction.java:347) at com.jaspersoft.studio.editor.preview.actions.export.AExportAction$3.run(AExportAction.java:191) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56) Link to comment Share on other sites More sharing options...
franky4 Posted January 7, 2019 Share Posted January 7, 2019 Created bug report #11481. Link to comment Share on other sites More sharing options...
ghudson_1 Posted October 16, 2020 Share Posted October 16, 2020 This is broken as of Studio 7.3.1, but resolved as of 7.8.0 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now