> The class documentation in javax.crypto.Cipher could better describe AEAD and > reuse. The current class description example is outdated as GCM encryption > does not allow resets. The doc should state that reset() may not be possible > with some algorithms or providers and that an > InvalidAlgorithmParameterException is thrown
Koushik Muthukrishnan Thirupattur has updated the pull request incrementally with one additional commit since the last revision: 8349946:Cipher javadoc could describe AEAD reuse better ------------- Changes: - all: https://git.openjdk.org/jdk/pull/25399/files - new: https://git.openjdk.org/jdk/pull/25399/files/ea320d8a..8d8446e3 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=25399&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25399&range=00-01 Stats: 4 lines in 1 file changed: 1 ins; 2 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/25399.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/25399/head:pull/25399 PR: https://git.openjdk.org/jdk/pull/25399