Signing an XFA-based PDF is more complicated than signing a standard PDF for a variety of reasons.
You will need to understand XML Digital Signatures, XFA and PDF to make it all work. On 7/11/11 4:04 PM, "Emmanuel Coste" <rnd...@gmail.com> wrote: >Hello gentlemen, > >I know this topic is an old one but I encounter the same trouble computing >this checksum in the xml. > >What I am trying to do is to fill an empty signature field of a "dynamic >XML" pdf. This pdf is very basic and contains only 1 empty signature >field. > >Once I've filled the signature field, I am updating the node "form" of the >XML with this : > ><form xmlns="http://www.xfa.org/schema/xfa-form/2.8/" >checksum="OI0a7q2Hu8kYSJ6C19+SSW2F9XI="> > <subform name="formulaire1"> > <instanceManager name="_"/> > <subform> > <field name="Signature1" access="readOnly"/> > </subform> > <pageSet> > <pageArea name="Page1"/> > </pageSet> > </subform> ></form> > >For test purpose, I've hard-coded the checksum (as you did) and I can see >that my PDF file is valid through Acrobat Reader. > >I am trying to get an explanation for the checksum calculation but for the >time being, I did not find anything (looking for in the PDF32000_2008.pdf >and xfa_spec_3_1.pdf documentation). > >Could you please help me with this one? > >Thank you very much in advance, >Emmanuel > > > > > > >-- >View this message in context: >http://itext-general.2136553.n4.nabble.com/Xfa-signature-tp2172306p3659473 >.html >Sent from the iText - General mailing list archive at Nabble.com. > >-------------------------------------------------------------------------- >---- >All of the data generated in your IT infrastructure is seriously valuable. >Why? It contains a definitive record of application performance, security >threats, fraudulent activity, and more. Splunk takes this data and makes >sense of it. IT sense. And common sense. >http://p.sf.net/sfu/splunk-d2d-c2 >_______________________________________________ >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 ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ 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