RFR: 8244154: Update SunPKCS11 provider with PKCS11 v3.0 header files

Weijun Wang weijun at openjdk.java.net
Fri Oct 30 14:45:56 UTC 2020


On Thu, 29 Oct 2020 03:18:33 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Changes look good. Only minor comments.
>
> Just curious, can the Java files be generated during the build process?

The constants in PKCS11Exception are duplicated in PKCS11Constants.
            0x00000000,
vs
public static final long  CKR_OK                 = 0x00000000L;
Is there any way to simplify it?

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

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



More information about the security-dev mailing list