Edward, Edward Cooke wrote: > Here's my signed document.
Your impression is right that there only is one certificate, the user certificate, included in the signature. On the other hand I also looked at the code (more exactly: the Java code, but as nothing magical happens there, I assume that the C# code is equivalent); it simply takes the certificates given to it in PdfSignatureAppearance.setCrypto and stores them locally; it forwards them to other objects; later it uses these certificates and adds them to the PKCS#7 signature container. So every certificate you use in setCrypto should be included in the signature container. BTW, it also implicitly expects the first certificate to be the user certificate. You initially wrote: > I've tried adding the entire chain into the array of certificates, in both > root cert first, signing one last and signing one first the root last. But > adobe is showing that only the signing cert is being put in. Thus, if changing the order of the certificates in the list has no effect, most likely the list does not contain more than one element. So, have you actually checked the size of the OrgX509.X509Certificate[] chain in your code? Either it is 1 or iTextSharp is significantly different from iText in this respect. Regards, Michael. -- View this message in context: http://itext-general.2136553.n4.nabble.com/iTextSharp-and-certificate-chains-using-windows-certificate-store-tp3761613p3765101.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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