### Question:
AOUtil { public static Properties base642Properties(final String base64) throws IOException { final Properties p = new Properties(); if (base64 == null || base64.isEmpty()) { return p; } p.load(new InputStreamReader( new ByteArrayInputStream(Base64.decode(base64.replace('-', '+').replace('_', '/'))), DEFAULT_ENCODING) ); return p; } private  AOUtil(); static URI createURI(final String file); static InputStream loadFile(final URI uri); static byte[] getDataFromInputStream(final InputStream input); static String getCN(final X509Certificate c); static String getCN(final String principal); static String getRDNvalueFromLdapName(final String rdn, final String principal); static boolean isPseudonymCert(final X509Certificate cert); static String hexify(final byte abyte0[], final boolean separator); static String hexify(final byte abyte0[], final String separator); static void loadNativeLibrary(final String path); static void copyFile(final File source, final File dest); static String[] split(final String text, final String sp); static String properties2Base64(final Properties p); static Properties base642Properties(final String base64); static String propertiesAsString(final Properties p); static boolean isJava9orNewer(); static boolean isOnlyNumber(final String value);  }### Answer:
@SuppressWarnings("static-method") @Test public void testBase64ToProperties() throws IOException { final String base64 = "Iw0KI1RodSBTZXAgMTkgMTY6MDc6MDAgQ0VTVCAyMDE5DQpzZXJ2ZXJVcmw9aHR0cHNcOi8vc2Vydmlkb3JjZW50cmFsXDo4NDQzL2ZpcmUtc2lnbmF0dXJlL3B1YmxpYy9hZmlybWEvdHJpcGhhc2VTaWduU2VydmljZQ0KaWduYXR1cmVSb3RhdGlvbj10cnVlDQpsYXllcjJUZXh0PUZpcm1hZG8gZWxlY3Ryw7NuaWNhbWVudGUgcG9yIEZJREVMIE1BUlRJTkVaIEZFUk5BTkRFWiBlbCBkw61hICQkU0lHTkRBVEVcPWRkL01NL3l5eXkgYSBsYXMgSEhcOm1tXDpzcyQkLg0KbGF5ZXIyRm9udFNpemU9Ng0Kc2lnbmF0dXJlRmllbGQ9RW1wdHlTaWduYXR1cmVGaWVsZA0KbGF5ZXIyRm9udEZhbWlseT0xDQphcHBseVN5c3RlbURhdGU9ZmFsc2UNCg=="; final Properties prop = AOUtil.base642Properties(base64); for (final String k : prop.keySet().toArray(new String[0])) { System.out.println(k + ": " + prop.getProperty(k) + "\n"); } System.out.println(prop.toString()); }