[15] RFR JDK-8242151 Improve OID mapping and reuse among JDK security providers for aliases registration
Weijun Wang
weijun.wang at oracle.com
Tue May 5 10:33:50 UTC 2020
I am playing with keytool + BouncyCastle and generate a key pair using the sigalg "SHA3-256WITHECDSA", and `keytool -list` cannot show the signature name.
So I tried 2 changes in AlgorithmId.java:
1. add both the name->oid and oid->name mapping inside collectOIDAliases() for 3rd party providers
2. fallback to this mapping if KnownOIDs.findMatch() fails in getName().
Then I can see the signature name.
You can consider including this or we can make this in a future RFE.
Thanks,
Max
More information about the security-dev
mailing list