On Mon, 20 May 2013 14:33:54 +0200, mursitorhan <mursitor...@hotmail.com> wrote:
> The same problem exists in 5.4.1 version. Well, you have the same problem if you twist the question! > in I text if you want to have multiple signature you must create stamper > like this > PdfStamper stp = PdfStamper.CreateSignature(reader, output, '\0',null, > true); > but > stp.SetEncryption(chain, new int[] { PdfWriter.ALLOW_FILL_IN }, > PdfWriter.ENCRYPTION_AES_128); That's not what you originally asked! In your original question, you were asking: Step 1: firstly I encrypted the pdf file. Then I reopened the encryted file and check whether it is encrypted correctly. THIS IS NOT DONE IN APPEND MODE! Step 2: After that I appended two signature and save it in another name. When I try to open this file I can see that it was encrypted and had two signature there was no corruption about signatures. THIS IS DONE IN APPEND MODE! In other words: you're asking one thing, doing another thing, and then you complain that it's not working. ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php