How can you sign a field if you've marked it as read-only?

Paulo

________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul and Jenny 
Ryan
Sent: Thursday, July 24, 2008 2:34 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Signing with iText gives invalid sig when "mark 
read-only Signed" event set

Hi,

We're investigating usage of Acrobat Professional 8.0 to design a "Staff Leave" 
form with multiple signature fields (employee, supervisor and a certifying 
signature).  The following high-level steps have been followed in order to 
demonstrate the problem I'm encountering:

Within Acrobat Professional:
1. Create form template.  In the properties of the "employee signature" field, 
I click on the "Signed" tab and set "Mark as read-only" to a list of specified 
fillable fields.
2. Enable usage rights so that users can save their filled in forms to disk.
3. Add non-visible certify signature allowing form fill-in.

Using Adobe Reader:
4. Open the form template, fill in the fields and save to disk

Using iText:
5. Sign the "employee signature" field

Observations:
- The above steps cause Adobe Reader to cry about "Signature is INVALID; The 
document has been altered or corrupted since the signature was applied" on the 
"employee signature" field.
- If I use iText to verify the signed form, it's fine.
- If I don't set the "Signed" event (field selection) property on the "employee 
signature" field at step 1 above, the signature will be perfectly valid at step 
5 above via Adobe Reader.
- If I use Adobe Reader to actually sign the "employee signature" field at step 
5 with the "Signed" event set, it shows the signature is valid and locks (read 
only) the fields specified.

I was hoping to utilise the field list from the "Signed" event tab to 
programmatically loop over and set to read only if iText didn't already honour 
these signature properties.  It's of no use if the signature appears invalid 
though via Adobe Reader though.

Regards,
Paul

________________________________
Start at the new Yahoo!7 for a better online experience - Start 
Here<http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.docs.yahoo.com/somethingwonderful/index.php?p1=brand&p2=other&p3=au&p4=tagline>.


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Reply via email to