On Fri, 21 Feb 2025 20:31:35 GMT, Anthony Scarpino <ascarp...@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