import org.adullact.liberattest.parser.ContentParser;
import org.adullact.liberattest.utils.KeyStoreLoader;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
+import org.json.simple.JSONObject;
+import org.json.simple.JSONValue;
import java.io.File;
import java.security.Security;
String basedir;
String uuid;
String contentFile;
- String store;
+ JSONObject store;
if (args.length > 3) {
basedir = args[0];
- store = args[1];
+ store = (JSONObject) JSONValue.parse(args[1]);
uuid = args[2];
contentFile = args[3];
} else {
}
// Définition du store
- KeyStoreLoader.setStore(store);
+ KeyStoreLoader.setStores(store);
// On ajoute le fichier à vérifier
fileNames.add(contentFile);