No need to, you can verify using one keystore and then verify using another. If you are asking how to merge keystores that is outside the scope of this mailing list.
Paulo -----Original Message----- From: Aritz Muniáin Sánchez [mailto:[email protected]] Sent: Wednesday, February 15, 2012 10:56 AM To: 'Post all your questions about iText here' Subject: Re: [iText-questions] Urgent HELP with Keystore I said that these lines of code works fine, but I wanted to know if there is a way to load or include another keystore into default cacerts file. -----Mensaje original----- De: Paulo Soares [mailto:[email protected]] Enviado el: miércoles, 15 de febrero de 2012 11:50 Para: Post all your questions about iText here Asunto: Re: [iText-questions] Urgent HELP with Keystore That's a convenience method that returns the default keystore, you don't have to use it. I can't see the problem. Paulo -----Original Message----- From: Aritz_85 [mailto:[email protected]] Sent: Wednesday, February 15, 2012 10:22 AM To: [email protected] Subject: [iText-questions] Urgent HELP with Keystore Hi! I have a problem while verifyong pdf signatures and certificates. The problem is that I don't need to load default CAcertsKeystore, i need to load my own Keystore. Currently, I have this code: java.io.FileInputStream fis = new java.io.FileInputStream("C:\\Documents and Settings\\Administrador\\Escritorio\\bttkeystore"); char[] password = ("changeit").toCharArray(); KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); ks.load(fis, password); And it works fine! But my question is: Does exist a way to "include" or replace the default CAcertsKeystore located in java.home/lib/security/cacerts with my own root certificate in order to load it using PdfPKCS7.load Cacerts KeyStore() ??? I mean, I want to know if its possible to load my own keystore while calling PdfPKCS7.loadCacertsKeyStore() . Hope you can help me! -- View this message in context: http://itext-general.2136553.n4.nabble.com/Urgent-HELP-with-Keystore-tp43899 84p4389984.html Sent from the iText - General mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ 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 ---------------------------------------------------------------------------- -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ 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 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ 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 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ 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
