RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v28]

Kevin Driver kdriver at openjdk.org
Mon May 13 19:01:10 UTC 2024


On Mon, 13 May 2024 09:06:34 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Kevin Driver has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   re-enable preview annotations
>
> src/java.base/share/classes/javax/crypto/spec/HKDFParameterSpec.java line 332:
> 
>> 330:          * @return the optional context and application specific information
>> 331:          */
>> 332:         public byte[] info() {
> 
> I think the API docs will need to say that it returns a copy of the context/info, don't want readers to assume that an Expand object is mutable by way to modifying the byte[].

see: 05604208333

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1598916843



More information about the security-dev mailing list