iText 2.1.7 is incompatible with the latest release of BouncyCastle 
(1.46), at least because the static fields of "PKCSObjectIdentifiers" 
were modified.


java.lang.NoSuchFieldError: id_aa_signatureTimeStampToken
        at com.lowagie.text.pdf.PdfPKCS7.<init>(Unknown Source)
        at com.lowagie.text.pdf.AcroFields.verifySignature(Unknown Source)
        at com.lowagie.text.pdf.AcroFields.verifySignature(Unknown Source)
        at 
it.unimaticaspa.firmant.tecnologia.pdf.TestFirmaServerPDF.firmaTimeStamp(TestFirmaServerPDF.java:284)
        [...]


We also get the following error:

java.lang.NoSuchMethodError: 
org.bouncycastle.asn1.DERSequence.<init>(Lorg/bouncycastle/asn1/DEREncodableVector;)V
        at com.lowagie.text.pdf.PdfPKCS7.getEncodedPKCS7(Unknown Source)
        at com.lowagie.text.pdf.PdfPKCS7.getEncodedPKCS7(Unknown Source)
        at 
it.unimaticaspa.firmant.tecnologia.pdf.TestMyPdfStamper.testEqualsPdfArrayID(TestMyPdfStamper.java:58)
        [...]



Thanks in advance,
     Giacomo Boccardo.

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
iText-questions mailing list
[email protected]
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