On Tue, 11 Jan 2022 20:34:59 GMT, Weijun Wang <wei...@openjdk.org> wrote:

> Add OID aliases for the 2 service. This makes sure KeyFactory can be created 
> and read an encoded key without knowing what the OID in the encoding is for.

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?

-------------

PR: https://git.openjdk.java.net/jdk/pull/7036

Reply via email to