senaguas wrote:
HI everybody.

i am trying to copy a pdf file that is signed, from an PdfReader object to this.
Why are you using PdfReader to do this?
Why not just copy the file with java.io classes?
My problem is this:

once the file is copied , i try to open it with acrobat (all versions), and 
acrobat says to me that the sign is wrong
Of course, this is expected behavior. We would have a SERIOUS PROBLEM
if the opposite were true given the fact that you are altering the document with PdfCopy. You could of course change a revision of the signed document using PdfStamper, but then you create an updated PDF. You can't just go and change a PDF document
the way you do and expect the signature to be valid after the changes.

Please do some more thinking with respect to your goal.
What do you want to do? Is what you are trying to do logical?
Then rephrase your question and post it again.
br,
Bruno

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to