I have a password protected document (not allowing the printing) and I want to Digitally sign it. When opening the file with iText I have BadPasswordException.
I read in the book that iText needs the password to manipulate the document so I gave the PDFReader constructor the password and I have this exception:
java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
It seems that the metadata is encrypted too.
My questions:
Is there a way to digitally sign the document without the password? Signing is allowed
The document is not created from iText so how to bypass the metadata encryption?(DO_NOT_ENCRYPT_METADATA)
Thanks Jamil

