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

Valerie Peng valeriep at openjdk.org
Tue Aug 13 21:54:53 UTC 2024


On Tue, 13 Aug 2024 14:42:23 GMT, Kevin Driver <kdriver at openjdk.org> wrote:

>> src/java.base/share/classes/javax/crypto/KDFSpi.java line 89:
>> 
>>> 87:      * @throws UnsupportedOperationException if this method is not overridden
>>> 88:      * by a provider
>>> 89:      */
>> 
>> The method is abstract meaning this method must be overridden?
>
> Yes. We want the implementation to return the parameters, especially if it is supplying any defaults.

Since it must be overridden, no way for the `UnsupportedOperationException` to happen?

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

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



More information about the security-dev mailing list