String storePass = properties
.getProperty(XKMS_KEY_STORE_PASSWORD);
keystore.store(outputStream, storePass.toCharArray());
} catch (FileNotFoundException ex) {
throw new XKMSException(ex);
} catch (KeyStoreException e) {
throw new XKMSException(e);
} catch (NoSuchAlgorithmException e) {
throw new XKMSException(e);
} catch (CertificateException e) {
throw new XKMSException(e);
} catch (IOException e) {
throw new XKMSException(e);
}
}
}