public static void exportRsaKey(String pathname, Key key) throws IOException {
		Files.write(Paths.get(pathname), key.getEncoded(), StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.WRITE);
	}