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

Valerie Peng valeriep at openjdk.org
Wed Aug 28 22:49:36 UTC 2024


On Wed, 28 Aug 2024 20:38:06 GMT, Kevin Driver <kdriver at openjdk.org> wrote:

>> src/java.base/share/classes/javax/crypto/KDF.java line 231:
>> 
>>> 229:     /**
>>> 230:      * Returns a {@code KDF} instance initialized with the specified algorithm from
>>> 231:      * the specified security provider.
>> 
>> Add "The specified provider must be registered in the security provider list."
>
> Resolved in https://github.com/openjdk/jdk/pull/20301/commits/a65dc9da044297c313e02d698255bad915dc0a10.

It's not just "initialized with the specified algorithm from the specified security provider". Not sure if people may read it to be just the algorithm name, but in reality, it's the algorithm *implementation*.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1735366540


More information about the security-dev mailing list