[15] RFR JDK-8242151 Improve OID mapping and reuse among JDK security providers for aliases registration

Valerie Peng valerie.peng at oracle.com
Wed May 6 21:54:02 UTC 2020


Sure, I can include this in. Will address in webrev.03.

Thanks,
Valerie
On 5/5/2020 3:33 AM, Weijun Wang wrote:
> 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