Thks, you are doing a great job.
I have one last problem that I've been working on. You probably know the
solution and it would save me a lot of time.
I Have a client - server application, I'm trying to sign the form on the
server so I'm calculating the Hash on the server transferring it to the client
to calculate the signature and pass it back to the server. How can I apply the
signature bytes? Do I use the PreClose?
From: Paulo Soares <psoares <at> consiste.pt>
Subject: Re: Digital signing with blank signature
<http://news.gmane.org/find-root.php?message_id=%3c003901c73773%243db24b10%24587ba8c0%40psoaresk%3e>
Newsgroups: gmane.comp.java.lib.itext.general
<http://news.gmane.org/gmane.comp.java.lib.itext.general>
Date: 2007-01-14 00:30:45 GMT (1 day, 23 hours and 31 minutes ago)
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" <Guy.Lafontaine <at> emergis.com>
To: <itext-questions <at> lists.sourceforge.net>
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 <psoares <at> co...> - 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" <Guy.Lafontaine <at> em...>
To: <itext-questions <at> li...>
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.
GL
AVIS DE CONFIDENTIALITÉ
L'information contenue dans ce message, y compris les fichiers joints, est de
nature exclusive et confidentielle, et ne doit être utilisée que par le
destinataire. Ce message peut contenir des renseignements réservés, sujets aux
dispositions des lois sur la confidentialité. En conservant et en utilisant les
renseignements contenus dans ce message, le destinataire autorisé s'engage à
protéger l'information qu'il contient contre la perte, la divulgation, le vol
ou l'exposition à tout risque, en appliquant des précautions au moins égales à
celles qu'il utilise pour la protection de ses propres renseignements
personnels. Toute diffusion ou utilisation de l'information contenue dans ce
message par une personne autre que son destinataire explicite constitue un acte
non autorisé et potentiellement illicite. Si vous avez reçu ce message par
erreur, veuillez en aviser Emergis en répondant à l'expéditeur et détruire
toutes les copies du message en votre possession.
CONFIDENTIALITY NOTICE
The information contained herein, including any attachments, is proprietary and
confidential and is intended for the exclusive use of the addressee. It also
may contain privileged information and/or personal information subject to
privacy legislation. The authorized addressee of this information, by its
retention and use, agrees to protect the information contained herein from
loss, disclosure, theft or compromise with at least the same care it employs to
protect its own confidential information. Any dissemination or use of this
information by a person other than the intended recipient is unauthorized and
may be illegal. If you have received this e-mail in error, please notify us
immediately by reply e-mail and destroy all copies.
-------------------------------------------------------------------------
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/