We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How not to encrypt created PDF


We just purchased a license for Aspose.Pdf for Java. The version of the Aspose.Pdf for Java we are currently using is

It seems that the created PDF documents are encrypted with 40 bits as a default. The com.aspose.pdf.elements.Security class has a method with which the encryption can be set to 128 bits. However, a method with which the encryption can be turned totally off seems to be missing.

We need to process the PDF documents created with Aspose.Pdf further. The further processing of the PDF documents would be significantly easier, if the documents were not encrypted at all.

How Aspose.Pdf for Java can be used so that the created PDF files are not encrypted? If a such usage is not currently possible, when can we expect a feature that provides the creation of PDFs without encryption?

Thank you for the information.

Hello Tero,

Thanks for considering Aspose.

I've logged this requirement as PDFJAVA-13238 in our issue tracking system. We would look into the details of this requirement and will keep you updated with the status of correction. Your patience and understanding is greatly appreciated in this regard.