On Thu, 5 Jun 2025 13:04:00 GMT, Sean Mullan <mul...@openjdk.org> wrote:

> Perhaps the JFR event logging code could see if the key implements 
> `NamedX509Key` and then print out the `NamedParameterSpec` constant.

Or, just use public APIs as

if (key instanceof AsymmetricKey ak
                    && ak.getParams() instanceof NamedParameterSpec nps) {
    print(nps.getName());
}

This will print out `Ed25519` and `X448` as well.

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

PR Comment: https://git.openjdk.org/jdk/pull/25642#issuecomment-2944352378

Reply via email to