Hey Michael,
I have no idea in what way PdfSignatureAppearance.VERISIGN_SIGNED differs
from PdfSignatureAppearance.SELF_SIGNED... According to Paulo Soares in
another "thread" they are signing modes, why this one worked i really dont
know...

As for the digest loop, i dont really need to know the number of bytes read,
i just need to know when there arent anymore to read from the input stream.
The message digest "remembers" all the previously added bytes each step of
the loop and updates with the new bytes supplied. Its the only way you can
make a digest of a whole file, big files will call the update method more
times in that while loop.

Heres is a sample of a signed document.
The signature isnt verified because i'd need to put the certificate in adobe
reader i think, not sure if you know what i mean... But this was expected ->
"Only certificates that are signed by a Certificate Authority (e.g.
VeriSign) will be trusted automatically" from
http://itext.ugent.be/articles/eid-pdf/index.php?page=3#start

sample:
http://www.filefactory.com/file/b3hgf90/n/signed_pdf
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Another-invalid-signature-thread-tp3003710p3013844.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

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