if (key==null) {
LOGGER.warn("creation of a " + cryptoAlgo + " decoder has failed");
return null;
}
LOGGER.info("Decoder built from key in file: " + keyFile);
return cr.newDecoder(key);
}
private static byte[] readKey(String dir, String keyFile) {
File f = new File(dir, keyFile);
BufferedReader r = null;