Hi Paulo,

Which date we used in PdfPKCS7.VerifyCertificates for  PAdES-LTV  
TimeStampDate or the latest SignDate from sugnatures ?

eg.:
// PAdES LTV -> pk.SignDate is "1/1/0001 12:00:00 AM"
DateTime cal = pk.SignDate.Equals(new DateTime(1, 1, 1, 0, 0, 0)) ?  
pk.TimeStampDate : pk.SignDate;


Thanks, Attila.



Idézet (Paulo Soares <[email protected]>):

> It works with iText 5.2 and sha256. What version are you using and
> with what code?
>
> Paulo
>
> On Fri, Mar 23, 2012 at 10:40 AM,  <[email protected]> wrote:
>> Dear Team,
>>
>> My TSA provider changed its cryptography algoritm from SHA1 to sha-2,
>> RSA and I got an "Invalid TSA ... response, code 128" exception with
>> the new TSA.
>>
>> Do you have an example for signing with sha-2, RSA?
>>
>> Thanks, Attila.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _______________________________________________
>> iText-questions mailing list
>> [email protected]
>> 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
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> iText-questions mailing list
> [email protected]
> 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
>


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
iText-questions mailing list
[email protected]
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