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

Sean Mullan mullan at openjdk.org
Tue Aug 27 10:59:16 UTC 2024


On Fri, 23 Aug 2024 21:48:44 GMT, Kevin Driver <kdriver at openjdk.org> wrote:

>> Introduce an API for Key Derivation Functions (KDFs), which are cryptographic algorithms for deriving additional keys from a secret key and other data. See [JEP 478](https://openjdk.org/jeps/478).
>> 
>> Work was begun in [another PR](https://github.com/openjdk/jdk/pull/18924).
>
> Kevin Driver has updated the pull request incrementally with one additional commit since the last revision:
> 
>   code review comments and test renaming

src/java.base/share/classes/javax/crypto/KDF.java line 316:

> 314:      * @throws NoSuchAlgorithmException
> 315:      *     if no {@code Provider} supports a {@code KDFSpi} implementation for
> 316:      *     the specified algorithm

The description of this exception should be the same as `getInstance(String)`.

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

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



More information about the security-dev mailing list