Why would you want to remove a signature? And do you have the rights to do so (eg. Are you the signatory)?
After removing the field, be sure to do a FULL save on the PDF and not an incremental one. Leonard On 1/22/09 12:29 PM, "Starke, Rico" <rico.sta...@gl-group.com> wrote: Hi, I have a problem removing a signature from a pdf file with iText. Can someone help me? I remove the signature with acroFields.removeField and write the document back to disk using the pdfstamper. Now the signature is gone (acrobat says there are no signatures in the newly written document), but I still cannot change the security policy of the document. What I want to do is to open File->Properties in Acrobat Pro v8, go to the Security tab and choose "Password Protection" in the combobox. Yet, Acrobat shows a message "the security policy cannot be changed because the document is signed or certified", although there are no security restrictions applied to the document (as displayed on the Security of the properties dialog), and although all signatures have been removed. Note: I'm using the German version of Acrobat, so some of my translations given above may not match the english version exactly. Any ideas how to remove this remainder of the signature with itext? I can provide more code snippets, acrobat screenshots or example pdf files if that helps. Kind regards, Rico Starke This e-mail and any attachment thereto may contain confidential information and/or information protected by intellectual property rights for the exclusive attention of the intended addressees named above. Any access of third parties to this e-mail is unauthorised. Any use of this e-mail by unintended recipients such as total or partial copying, distribution, disclosure etc. is prohibited and may be unlawful. When addressed to our clients the content of this e-mail is subject to the General Terms and Conditions of GL's Group of Companies applicable at the date of this e-mail. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. GL's Group of Companies does not warrant and/or guarantee that this message at the moment of receipt is authentic, correct and its communication free of errors, interruption etc. -- Leonard Rosenthol PDF Standards Architect Adobe Systems Incorporated ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php