Eric,

Eric Chow wrote
> Do you mean the output PDF (signed PDF)? I attach it here. Please check!
> I tried to use iText-rups to show the document structure, but cannot see
> the DSS catalog.
> 
> test_signed.pdf (295K)
> <http://itext-general.2136553.n4.nabble.com/attachment/4659570/0/test_signed.pdf>

That sample is somewhat irritating. I would have expected at least one
additional revision after the original signed one but in your case the
signed revision is the last one.

Thus, just to make sure, in your code

    LtvVerification v = stamper.getLtvVerification();
    AcroFields af = stamper.getAcroFields();
    for (String sigName : af.getSignatureNames()) {
        [...]
    }
    v.merge();        

which PdfStamper stamper do you work on? Is it the PdfStamper you retrieved
to create the signature with or is it a stamper you opened for the already
signed file?

Using that code on the PdfStamper you create the original signature with
won't work because the code adds validation related information for already
existing signatures only.

If you used that code on a PdfStamper working on a PdfReader containing the
PDF already containing the original signature, please post more of the code
doing that...

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/LTV-problem-tp4659550p4659572.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
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