On Thu, 9 May 2024 17:29:15 GMT, Sean Mullan <[email protected]> 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