(Object name, Key key, byte[] iv)
| 95 | } |
| 96 | |
| 97 | static void logKeyAndIv(Object name, Key key, byte[] iv) { |
| 98 | if (iv != null && KEY_LOGGER.isDebugEnabled()) { |
| 99 | KEY_LOGGER.debug("Stream: {} Key: {} IV: {}", name, |
| 100 | new BytesWritable(key.getEncoded()), new BytesWritable(iv)); |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | /** |
| 105 | * Change the current Initialization Vector (IV) for the encryption. |