The problem is that the signature field has a SigFieldLock dictionary under the Lock key. I this case you should remove this key and make all the fields read-only.
Paulo ----- Original Message ----- From: "Lafontaine, Guy" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, January 13, 2007 9:32 PM Subject: [iText-questions] Digital signing with blank signature Where can I send it? Re: Digital signing with blank signature <http://sourceforge.net/mailarchive/message.php?msg_id=37901987> From: Paulo Soares <[EMAIL PROTECTED]> - 2007-01-13 08:48 Your solution will break the field name rules by creating a field with a '.' in the name without using an hierarchy. The code as exists still works for me. I just did some tests both in Java and C# and both worked. I would like to see that third party PDF, if possible, otherwise I have to assume that your PDF is broken somewhere. By the way, working in Acrobat doesn't mean it's not broken. Paulo ----- Original Message ----- From: "Lafontaine, Guy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 13, 2007 4:25 PM Subject: Re: [iText-questions] Digital signing with blank signature For testing purposes I replace the line with if ((fieldExists && name.IndexOf('.') >= 0) && (name != "sig.1")) I was waiting to see your comments before doing any permanent changes. If I test it with "if (fieldExists) {" I have the same problem. The issue only happens when there is a "." In the name of the field. -------------------------------------------------------------------------------- > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------------------------------------------------------------------------- > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
