RFR: 8279801: EC KeyFactory and KeyPairGenerator do not have aliases for OID format
Valerie Peng
valeriep at openjdk.java.net
Wed Jan 12 21:20:23 UTC 2022
On Tue, 11 Jan 2022 20:34:59 GMT, Weijun Wang <weijun at 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
More information about the security-dev
mailing list