RFR: 8331008: KDF Implementation (Preview) [v14]
Kevin Driver
kdriver at openjdk.org
Fri May 10 18:43:34 UTC 2024
On Thu, 9 May 2024 12:31:24 GMT, Sean Mullan <mullan at openjdk.org> wrote:
>> src/java.base/share/classes/javax/crypto/KDF.java line 54:
>>
>>> 52: * the algorithm specifier may be omitted if the KDF algorithm has a fixed or default PRF.
>>> 53: * <p>
>>> 54: * TODO: finish this javadoc
>>
>> You should state that a KDF object is immutable. A sample would also be useful.
>
> You need an `@since 23`.
As discussed, it's not 100% immutable due to delayed provider selection. I've added the sample and the `@since 23`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1597092665
More information about the security-dev
mailing list