ibmruntimes / openj9-openjdk-jdk

Extensions for OpenJDK for Eclipse OpenJ9
GNU General Public License v2.0
17 stars 73 forks source link

Add support for EC aliases in SunPKCS11 #832

Open BobMDu opened 2 weeks ago

BobMDu commented 2 weeks ago

In Java 8 with IBMPKCS11Impl, we allowed the usage of 1.2.840.10045.2.1 as an alias for EC when using ECKeyFactory. This is support we want to continue to offer with SunPKCS11 and Semeru.

Changing the function from d() to dA() allows getAliases() to be called. which checks the list of known aliases for EC that contains 1.2.840.10045.2.1.

Signed-off-by: Bob Du bob.du@ibm.com