RFR: 8331008: KDF Implementation (Preview) [v2]
Kevin Driver
kdriver at openjdk.org
Fri May 10 21:17:38 UTC 2024
On Thu, 9 May 2024 17:29:15 GMT, Sean Mullan <mullan at openjdk.org> wrote:
>> src/java.base/share/classes/javax/crypto/KDFSpi.java line 107:
>>
>>> 105: * if the key derivation implementation cannot support additional calls to
>>> 106: * {@code deriveData } or if all {@code DerivationParameterSpec} objects have been
>>> 107: * processed.
>>
>> What kind of exception will be thrown if the derived key of this KDF is not extractable?
>
> Sounds like we may need a new exception class, like `DerivationException`.
I think we decided on `UnsupportedOperationException` previously. I've got that in place for now. Let me know if you still think we need a new class, @seanjmullan.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1597235989
More information about the security-dev
mailing list