this.cipher.init(Cipher.DECRYPT_MODE, key.getKey(), this.ivSpec);
this.encryptMode = false;
} catch (InvalidKeyException e) {
String errorMessage = HDIVUtil.getMessage("cipher.init.decrypt", e.getMessage());
throw new HDIVException(errorMessage, e);
} catch (InvalidAlgorithmParameterException e) {
String errorMessage = HDIVUtil.getMessage("cipher.init.decrypt", e.getMessage());
throw new HDIVException(errorMessage, e);
}
}