// Save viewInfos in a temp files
FileSystemUtils.writePrivateFile("viewInfos.txt", viewInfos);
// Decrypt acl informations
Executable exec = new Executable("wpes1_linux");
exec.add("dACL");
exec.add(token.getEncryptedAclBEL());
exec.add(token.getEncryptedAclSEL());
// Tested with token.folderIDGraph and doesn't work.
exec.add(token.getFolderIdDB());
exec.add(Configuration.LOCAL_PRIVATE_RESOURCES_PATH + "/viewInfos.txt");
exec.add(passphrase);
exec.add(Configuration.LOCAL_PRIVATE_RESOURCES_PATH + "/aclBEL.txt");
exec.add(Configuration.LOCAL_PRIVATE_RESOURCES_PATH + "/aclSEL.txt");
exec.run();
String decryptedAclBEL = FileSystemUtils.readPrivateFile("aclBEL.txt");
String decryptedAclSEL = FileSystemUtils.readPrivateFile("aclSEL.txt");
FileSystemUtils.deletePrivateFiles();