RFR: 8346129: Simplify EdDSA & XDH curve name usage
Sean Mullan
mullan at openjdk.org
Fri Feb 21 21:05:54 UTC 2025
On Fri, 21 Feb 2025 20:31:35 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:
>> Or what about this?
>>
>> if (key instanceof AsymmetricKey ak) {
>> if (ak.getParams() instanceof NamedParameterSpec nps) {
>> return nps.getName();
>> }
>> }
>> return key.getAlgorithm();
>>
>> `AsymmetricKey` was introduced to make our lives easier.
>
> I stayed away from that because this is likely being backported
Ok, well our backporters are usually good about extracting only what is necessary, but if not, can you file another issue to add support for disabling PQC algorithms?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23647#discussion_r1966165821
More information about the security-dev
mailing list