Re: [iText-questions] Informations regarding iText methods

2012-02-09 Thread Raffaele
Up!!! Someone can help me??? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Informations-regarding-iText-methods-tp436p4372542.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] Informations regarding iText methods

2012-02-08 Thread Raffaele
mkl wrote > > Raffaele, > > Raffaele wrote >> i would to know whati is the "byte[] secondDigest" into the method >> GetEncodedPKCS7. > > Cf. the method getAuthenticatedAttributeSet(). Here you can see that this > is the value used for the MessageDigest signed attribute, ie.e the actual > hash o

Re: [iText-questions] Informations regarding iText methods

2012-02-08 Thread Raffaele
Ok Thanks, There is someone else can help me??? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Informations-regarding-iText-methods-tp436p4369030.html Sent from the iText - General mailing list archive at Nabble.com. -

Re: [iText-questions] Informations regarding iText methods

2012-02-08 Thread mkl
Raffaele, Raffaele wrote > now if i want to add manually these signed attributes, can you explain or > give me an example for this task? As I don't use the PdfPKCS7 utility class myself (I'm predominantly working with a security library which is not publicly available), I don't have any samples a

Re: [iText-questions] Informations regarding iText methods

2012-02-08 Thread Raffaele
Thanks Michael, now if i want to add manually these signed attributes, can you explain or give me an example for this task? I ask this because if i call the method GetEncodedPKCS7 with the second digest, Adobe say that the file has been modified. What's wrong??? Thanks again. :) -- View this m

Re: [iText-questions] Informations regarding iText methods

2012-02-08 Thread mkl
Raffaele, Raffaele wrote > i would to know whati is the "byte[] secondDigest" into the method > GetEncodedPKCS7. Cf. the method getAuthenticatedAttributeSet(). Here you can see that this is the value used for the MessageDigest signed attribute, ie.e the actual hash of the signed byte ranges in th

[iText-questions] Informations regarding iText methods

2012-02-08 Thread Raffaele
Hi everybody, i would to know whati is the "byte[] secondDigest" into the method GetEncodedPKCS7. If you know, how is calculated and when. Thanks! Raffaele. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Informations-regarding-iText-methods-tp436p436.html