RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v15]
Kevin Driver
kdriver at openjdk.org
Fri Aug 30 22:34:17 UTC 2024
On Thu, 29 Aug 2024 18:00:08 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> What do you propose? It's not clear how we would distinguish between NSAE and IAPE and continue checking providers. Should I remove the exception from the method signature?
>
> This is not an API comment. This is implementation only.
>
> I just propose that if there exist one or more implementations for this algorithm but none of them accepts the parameters then you should throw an IAPE. This is what the spec is saying.
Addressed in https://github.com/openjdk/jdk/pull/20301/commits/e4400b6edaf69d08726a63e2a705784c731648db. Please confirm if resolved.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1739436869
More information about the security-dev
mailing list