public Boolean loadElGamalKey() {
		Console console = System.console();
		String message = "Enter the location of the Authority ElGamal public key";
		String input;
		ElGamalPublicKeyParameters pubKey = null;
		while (true) {
			try {
				System.out.println(message);
				input = console.readLine();
				pubKey = Importer.importElGamalPublicKeyParameters(input);
				break;
			} catch (FileNotFoundException e) {
				e.printStackTrace();
				System.out.println("Invalid file location.");
			} catch (CorruptDataException e) {
				e.printStackTrace();
				System.out.println("The file does not have the correct format.");
			} catch (IOException e) {
				e.printStackTrace();
				System.out.println("Something went wrong.");
			} finally {
				if (pubKey != null) {
					Security.setElGamalPublicKey(pubKey);
					return Boolean.TRUE;
				}
				System.out.println("Try again y/n?");
				input = console.readLine();
				if (!"y".equals(input.toLowerCase())) {
					break;
				}
			}
		}
		return Boolean.FALSE;
	}