RFR: 8349946: Cipher javadoc could describe AEAD reuse better [v3]
Anthony Scarpino
ascarpino at openjdk.org
Mon Jul 21 18:13:28 UTC 2025
On Thu, 26 Jun 2025 03:42:14 GMT, Koushik Muthukrishnan Thirupattur <duke at openjdk.org> wrote:
>> 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
Marked as reviewed by ascarpino (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/25399#pullrequestreview-3039194983
More information about the security-dev
mailing list