Re: [iText-questions] Problem with signature verification when using SHA2 algorithms

2012-05-24 Thread sanduche
Thanks Paulo, Using BouncyCastle provider solved problem with verification. I have noticed that there is problem with signing when using SHA-384 and SHA-512 and keys on smart cards that have 1024bit length. With keys that are 2048bit there is no problem. When using PKCS12 there is no problem wi

Re: [iText-questions] Problem with signature verification when using SHA2 algorithms

2012-05-24 Thread Paulo Soares
Use a crypto provider that supports SHA512 such as BouncyCastle. Paulo On Wed, May 23, 2012 at 11:07 PM, sanduche wrote: > Hi, I have a problem with signature verification for signatures that are > using SHA-256, SHA-384 or SHA-512 hash algorithms. Verification from Adobe > Reader X goes just fi

Re: [iText-questions] Problem with signature verification when using SHA2 algorithms

2012-05-23 Thread sanduche
Hi, I have a problem with signature verification for signatures that are using SHA-256, SHA-384 or SHA-512 hash algorithms. Verification from Adobe Reader X goes just fine, reporting signature is valid but verification from iText is throwing exception. I'm using iText 5.2.1. Example of .pdf that

[iText-questions] Problem with signature verification when using SHA2 algorithms

2012-05-23 Thread sanduche
Hi, I have a problem with signature verification for signatures that are using SHA-256, SHA-384 or SHA-512 hash algorithms. Verification from Adobe Reader X goes just fine, reporting signature is valid but verification from iText is throwing exception. I'm using iText 5.2.1. Example of .pdf that