Hi Paulo,

The problem is resolved I changed line 100 to this line, and working fine:

ITSAClient tsc = new  
TSAClientBouncyCastle("https://bteszt.e-szigno.hu/tsa";, "teszt",  
"teszt", 6500, "sha256");

Attila.


Idézet ([email protected]):

> Hi Paulo,
>
> If you commented out line 100 and put this line into line 101 the
> program will working fine, but this TSA accept the SHA1.
>
> ITSAClient tsc = new
> TSAClientBouncyCastle("http://tsa.safelayer.com:8093";, "", "");
>
> Attila.
>
> Idézet ([email protected]):
>
>> Hi Paulo,
>>
>> I am use iTextSharp-5.2.0 and this demo program which I attached
>> worked fine with the old SHA1 TSA.
>> Can you see into the
>> iTextSharpPdfSigno\iTextSharpPdfSignoApplication\PdfInvoiceSigno.cs
>> what it could be the problem?
>>
>> 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
>


------------------------------------------------------------------------------
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