RFR: 8346736: Java Security Standard Algorithm Names spec should include key algorithm names

Sean Mullan mullan at openjdk.org
Mon Jan 6 19:03:34 UTC 2025


On Mon, 6 Jan 2025 18:53:09 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> src/java.base/share/classes/javax/crypto/KEM.java line 231:
>> 
>>> 229:          *          for information about standard secret key algorithm names.
>>> 230:          *          Use "Generic" if the output will be used as the input keying
>>> 231:          *          material of a key derivation function (KDF).
>> 
>> Add link to KDF API?
>
> In the original commit at https://github.com/openjdk/jdk/pull/22650/commits/f7c03f781a90ebf3f634c3e7478124463757de17 I used the link. And then, I thought KDF is still not final, and I wanted to convey the idea that it could be accepted by an existing KDF implementation that doesn’t extend `KDFSpi` but is still conceptually a KDF. Perhaps I overthought it?

Right, it probably isn't appropriate to link to a preview API from a non-preview API. So let's leave it as is.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22929#discussion_r1904526279


More information about the security-dev mailing list