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

MSCAPI keystore should accept Certificate[] in setEntry()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: security-libs
    • Labels:
      None

      Backports

        Description

        The MSCAPI KeyStore.engineSetKeyEntry(...Certificate[] chain) has

          entry.setCertificateChain((X509Certificate[]) chain);

        If chain is not created as X509Certificate[], a ClassCastException will be thrown at runtime.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  weijun Weijun Wang
                  Reporter:
                  weijun Weijun Wang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: