keys.put(alias, sk);
logger.debug("Loaded encyption key {} from keystore.", alias);
}
}
} catch (IOException ioe) {
throw new ConfigurationException("Unable to access key store: " + ioe.getMessage(), ioe);
} catch (GeneralSecurityException gse) {
throw new ConfigurationException("Unable to load encryption keys: " + gse.getMessage(), gse);
}
}