privateKeyFile.read(privateKey);
controller.addKeyPair(command.getArg(0), new Certificate("X.509", publicKey), new Certificate("X.509", privateKey));
} else if (command.getCommand() == CLICommand.Command.REMOVEKEY) {
FileInputStream publicKeyFile = new FileInputStream(command.getArg(1));
byte publicKey[] = new byte[(int) publicKeyFile.available()];
publicKeyFile.read(publicKey);
controller.removeKeyPair(command.getArg(0), new Certificate("X.509", publicKey));
} else if (command.getCommand() == CLICommand.Command.SECUREMESSAGE) {