try {
logger.debug("Decrypting object {} with key {}", uri, keyAlias);
byte[] iv = getCipherIVFromBlobName(BlobUtils.relativize(uri.getPath()));
in = eh.decrypt(CloudStoreProxy.read(uri),
Configurator.getEncryptionKey(keyAlias), iv);
} catch (GeneralSecurityException gse) {
throw new IOException("Unable to decrypt message blob: ", gse);
}
} else {