---------- Forwarded message ----------
From: Paulo Soares <pgpsoa...@gmail.com>
Date: Wed, Apr 25, 2012 at 2:44 PM
Subject: Re: [iText-questions] Fwd: want to verify a pdf signed by timestamp
To: aszo...@szomor.hu


On Wed, Apr 25, 2012 at 1:48 PM,  <aszo...@szomor.hu> wrote:
>>
>> I don't see any problem here.
>>
>> -OCSP revocation refers to this certificate: False
>>
>> The Acrobat panel only refers to CRL not OCSP.
>>
> THIS IS PART OF EXAMPLE CODE:
> BasicOCSPResp ocsp = pk.getOcsp();
> if (ocsp != null) {
>  System.out.println("OCSP revocation refers to this certificate: " +
> pk.isRevocationValid());
> }
> I think pk.isRevocationValid()) works with CRL not OCSP then why I got
> false?

It works with OCSP. iTextSharp doesn't support CRLs in the normal
signature, only in LTV..

>
>
>> -LTV Timestamp Certificates verifified False
>>
>> You'll have to feed the correct trusted certificate to verify.
>>
>> Paulo
>
> The "Test Root CA 2008" placed in my "Trusted root certification
> authorities" is not enough this?

You need the root of the timestamp certificate, not yours.

Paulo
>
> Attila.
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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