Update: I corrected the PdfStamper constructor to use append mode (omit the
second constructor in the previous mail).Now, the signature is OK, but it
shows as not being LTV-enabled. Am I using addVerification() in a wrong way,
using wrong parameters, or should I use it in other signatures not listed by
the getSignatureNames() method?As a side note, this method returns in less
than a second, if that matters. When I added the DSS to the Document-level
Timestamp before, the method returned several seconds later.
ardamose123 wrote
> 
> iText Info wrote
>> It's perfectly OK to add a DSS without a timestamp. It's sufficient to
>> create a PdfStamper "the normal way" to add a DSS without a
>> Document-Level Timestamp.
> I followed your recommendation, using the following code with an
> already-signed document with one signature/revision loaded into READER:

> However, the result is as the attached file. The document loads well, but
> the signature comes up corrupted.
<http://itext-general.2136553.n4.nabble.com/file/n4657575/invalid_signature.png>
 
> 
> iText Info wrote
>> That's the certificates for the signing certificate. Do you include the
>> certificates for the timestamp?
> Before making use of the code above, the TSA's certificate is correctly
> appended.





--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/LTV-signature-in-a-single-revision-tp4657550p4657576.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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

Reply via email to