RFR: 8189441: Define algorithm names for keys derived from KeyAgreement [v2]
Weijun Wang
weijun at openjdk.org
Fri Jan 3 16:58:49 UTC 2025
On Fri, 3 Jan 2025 16:17:43 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> src/java.base/share/classes/javax/crypto/KeyAgreement.java line 662:
>>
>>> 660: * subsequent operations.
>>> 661: *
>>> 662: * @param algorithm the requested secret-key algorithm. This is
>>
>> Did you consider instead referencing the new section you are adding for standard key algorithm names (https://bugs.openjdk.org/browse/JDK-8346736)? It could be reworded as:
>>
>> "See the Key Algorithms section in the Java Security Standard Algorithm Names Specification for information about standard secret key algorithm names. Use "Generic" ..."
>
> Good idea.
Do you suggest me adding the same to `encapsulate` and `decapsulate` of `KEM` in this PR? I can update the title to include it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22650#discussion_r1901979732
More information about the security-dev
mailing list