Hello,

I have a PDF file has been modified after the signature;
It's on the link  mod.pdf <http://183.129.200.98:8020/download/mod.pdf>  
I got invalid verify use adobe reader(It's right). But,I got valid verify
use itextpdf(java) or itextsharp(c#).
I tried to use the version 5.4.2 and 5.4.3 and 5.3.0 ,I got same result.
In java ,used itextpdf5.4.2  and  BouncyCastle 1.49
In c#,used itextsharp5.4.2
Here is my c# code: 

PdfReader reader = new PdfReader(filename);
PdfPKCS7 pkcs = reader.AcroFields.VerifySignature("sjensign");
if (pkcs.Verify()){
   MessageBox.Show("It's OK");
}else{
   MessageBox.Show("It's Modified");
}
Is this a bug about itext verify signature? 

Best regards, 
Ahwa 



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Is-this-a-bug-about-itext-verify-signature-tp4658840.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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