RFR: 8279801: EC KeyFactory and KeyPairGenerator do not have aliases for OID format
Weijun Wang
weijun at openjdk.java.net
Thu Jan 13 00:46:28 UTC 2022
On Wed, 12 Jan 2022 21:22:34 GMT, Valerie Peng <valeriep at openjdk.org> wrote:
>> src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java line 322:
>>
>>> 320: */
>>> 321: putService(new ProviderServiceA(this, "KeyPairGenerator",
>>> 322: "EC", "sun.security.ec.ECKeyPairGenerator", ATTRS));
>>
>> How about the EllipticCurve alias? Are we dropping it?
>
> Hmm, I searched various security docs such as SunEC provider and standard names, there is no mentioning of EllipticCurve alias. So probably ok to drop it.
Er, maybe I can add it into KnownOIDs? `EC("1.2.840.10045.2.1", "EC", "EllipticCurve")`.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7036
More information about the security-dev
mailing list