Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8221442

Update SunPKCS11 provider with PKCS11 v2.40 support

    Details

    • Type: CSR
    • Status: Draft
    • Priority: P3
    • Resolution: Unresolved
    • Fix Version/s: 13
    • Component/s: security-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      source
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      No risk as new header files are backward compatible with older versions.
    • Interface Kind:
      Other
    • Scope:
      Implementation

      Description

      Summary

      PKCS#11 standard is updated to v2.40 in April 2015 with errata published one year later in 2016. SunPKCS11 provider should update to v2.40 accordingly.

      Problem

      SunPKCS11 provider uses PKCS#11 header files from much older PKCS#11 releases and added misc definitions as needed.

      Solution

      Update SunPKCS11 provider with the PKCS#11 v2.40 header files and support more algorithms commonly implemented by most PKCS11 libraries.

      Specification

      Update to use PKCS#11 v2.40 header files, e.g. remove v2.20 specific header file and update the content of other PKCS#11 header files. Patch/diff file is attached. Webrev can also be found online: http://cr.openjdk.java.net/~valeriep/8080462ccc/webrev.00/

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                valeriep Valerie Peng
                Reporter:
                valeriep Valerie Peng
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: