[15] RFR JDK-8242151 Improve OID mapping and reuse among JDK security providers for aliases registration
Weijun Wang
weijun.wang at oracle.com
Sun Apr 26 11:34:40 UTC 2020
I see this change in Provider$Service::toString output of SHA1withRSA:
SunRsaSign: Signature.SHA1withRSA -> sun.security.rsa.RSASignature$SHA1withRSA
- aliases: [1.2.840.113549.1.1.5, 1.3.14.3.2.29, OID.1.2.840.113549.1.1.5]
+ aliases: [1.2.840.113549.1.1.5, OID.1.2.840.113549.1.1.5]
attributes: {SupportedKeyClasses=java.security.interfaces.RSAPublicKey|java.security.interfaces.RSAPrivateKey}
Why is OIW_SHA1withRSA left out now? Maybe you should have added it to SecurityProviderConstants?
Thanks,
Max
> On Apr 25, 2020, at 6:28 PM, Weijun Wang <weijun.wang at oracle.com> wrote:
>
> 4. Are you sure the OID <-> name mapping is always the same everywhere (for all primitives and in all providers)? I mean for a stdName, if one OID alias is added in one place, should it always be added the same way in another? Have you compared the aliases map after this change?
More information about the security-dev
mailing list