RFR: 8358594: Misleading keyLength value captured in JFR event for ML-KEM key [v3]
Weijun Wang
weijun at openjdk.org
Thu Jun 5 13:33:50 UTC 2025
On Thu, 5 Jun 2025 13:04:00 GMT, Sean Mullan <mullan at 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
More information about the security-dev
mailing list