Hi, i have similar problem. i try to sign pdf with mobile signature. i use
itextpdf-5.1.3.jar,bcprov-jdk16-1.46.jar while signig.
X509Certificate root0 = Utils.getCert(PropertyUtils
.getProperty(Property.SIGN_ROOT_CERT0_PATH.value));
X509Certificate root1 = Utils.getCert(PropertyUtils
.getProperty(Property.SIGN_ROOT_CERT1_PATH.value));
X509Certificate[] chain = {root1,root0};
i create pdfstamper , set values to PdfSignatureAppearance ( i create Cert.
chain with issuer certificates ) and preclose PdfSignatureAppearance to
calculate hash of pdf. and i send this hash to mobile signature service
they returns me certificate and signedvalue. than i added this cert. to
chain and continue signing process.
My problem is when i open the pdf file with adobe i only see one certificate
, i can't see other two root certificate. i put link below it contains my
code, a singe pdf and the certificates i used. can you help me ?
https://www.dropbox.com/sh/g8yand5vlt5mxi8/I_mdANaJGC
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/problem-including-certificate-chain-in-PDF-tp2534374p4656907.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
iText-questions mailing list
[email protected]
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