iText 2.1.7 is compatible with the BC version current of July 2009. Futures 
versions may not work.

Paulo 

-----Original Message-----
From: Giacomo Boccardo [mailto:[email protected]] 
Sent: Thursday, February 24, 2011 2:35 PM
To: [email protected]
Cc: Gabriele Contini
Subject: [iText-questions] Upgrade to BouncyCastle 1.46

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


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


------------------------------------------------------------------------------
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