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