@Test
	public void testPublicExportImport() {
		//Get keys
		PublicKey aKey = Security.getAuthorityRSAPublicKey();
		PublicKey bKey = Security.getBulletinBoardRSAPublicKey();
		try {
			//Export keys
			Exporter.exportRsaKey(authRsaPub, aKey);
			Exporter.exportRsaKey(bbRsaPub, bKey);
			//Import keys
			PublicKey importedAKey = Importer.importRsaPublicKey(authRsaPub);
			PublicKey importedBKey = Importer.importRsaPublicKey(bbRsaPub);
			//Assert they are equal
			Assert.assertEquals(aKey, importedAKey);
			Assert.assertEquals(bKey, importedBKey);
		} catch (IOException e) {
			Assert.fail("Could not find file");
		} catch (InvalidKeySpecException e) {
			Assert.fail("Invalid key file");
		}
	}