This is not really a bug. The digest algorithm is sha1withRSAEncryption where it should be sha1. In any case I've changed the code to take care of this "broken" signatures.
----- Original Message ----- From: "Wahaj" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, December 24, 2004 10:17 AM Subject: [iText-questions] Getting exception in verifying a signature using iText-145 > Hi All, > > I am using iText145 and trying to verify a pdf signature but failing and > getting the following exception. See the attached PDF (The signature is > created using Adobe Acrobat using Windows Certificate Security signature > handler. Adobe is able to verify the signature successfully). > > ExceptionConverter: java.security.NoSuchAlgorithmException: > 1.2.840.113549.1.1.5 MessageDigest not available > at java.security.Security.getEngineClassName(Security.java:583) > at java.security.Security.getEngineClassName(Security.java:594) > at java.security.Security.getImpl(Security.java:1043) > at java.security.MessageDigest.getInstance(MessageDigest.java:120) > at com.lowagie.text.pdf.PdfPKCS7.<init>(PdfPKCS7.java:320) > at com.lowagie.text.pdf.AcroFields.verifySignature(AcroFields.java:1296) > at com.lowagie.text.pdf.AcroFields.verifySignature(AcroFields.java:1252) > > I am getting this problem only when a specific machine Windows 2000 Server > SP4 having Adobe 6.0 is creating the pdf signature, on other machines it > working OK. > > Regards, > Wahaj > > > ---------------------------------------------------------------------------- ---- > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
