I posted in ItextSharp mailing list, but didnt help me there, maybe someone here can.
Im using X509Chain class to get the System.Security.Cryptography.X509Certificates.X509Certificate2 chain and then convert it to Org.BouncyCastle.X509.X509Certificate. im having some troubles getting this to work correctly. i make: this._sap.SetCrypto(null, chain, null, null); and in chain im sure there is a certificate chain, made of 3 certificates. And signing went fine. now when i reopen the pdf, and "read" the signatures: ... PdfPKCS7 pk = af.VerifySignature(name); Org.BouncyCastle.X509.X509Certificate[] pkc = pk.Certificates; pkc, only has 1 certificate, when it was suposed to have the whole chain, made of 3 certificates (the ones i put in before, i gess)... Is there a reason why this is happening ? or am i thinking wrong. Really appreciate some input on this one. thanks. Regards. -- View this message in context: http://www.nabble.com/Certificate-chain-tp18336857p18336857.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
