c# - iTextSharp sign verify fails even if acrobat verify that sign without error -
i'm using itextsharp 5.4.2 , on sign acrobat verify correct , not corrupted sign sign not verified (here sample).
i debugged source code , found if rsadata in sign sha1 of content (20 bytes) messagedigest created sha256 , verifyrsadata = arrays.areequal(msgdigestbytes, rsadata)
obiously fails. in opinion "error" in pdfpkcs7.cs @ line 335
the sign created filter /adobe.ppkms , subfilter /adbe.pkcs7.sha1
what's wrong ? take @ code fix ?
thank domenico
Comments
Post a Comment