+++ /dev/null
-/*\r
- * To change this template, choose Tools | Templates\r
- * and open the template in the editor.\r
- */\r
-package com.axyus.signature.utils;\r
-\r
-import com.axyus.signature.pes.producer.AbstractKeyStoreLoader;\r
-import java.io.IOException;\r
-import java.security.KeyStoreException;\r
-import java.security.NoSuchAlgorithmException;\r
-import java.security.cert.CertificateException;\r
-\r
-/**\r
- *\r
- * @author stephane.melois\r
- */\r
-public class KeyStoreUtil {\r
- \r
- public static void loadKeystore(AbstractKeyStoreLoader keyStotreLoader){\r
- /* try {\r
- keyStotreLoader.loadKeystore(); \r
- } catch (KeyStoreException ex) {\r
- throw new StepInitialisationException("Le fichier de magasin de certificat ne peut pas être chargé");\r
- } catch (NoSuchAlgorithmException ex) {\r
- throw new StepInitialisationException("Les algorithmes de vérification des données du fichiers ne peuvent être appliqués");\r
- } catch (CertificateException ex) {\r
- throw new StepInitialisationException("Au moins un certificat ne peut etre chargé");\r
- } catch (IOException ex) {\r
- throw new StepInitialisationException("Probleme lors de l'ouverture du magasin, le mot de passe est peut être erroné");\r
- } \r
-*/\r
- }\r
- \r
-}\r