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

MSCAPI keystore should accept Certificate[] in setEntry()

    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.

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/000dd74c5ad7
          User: weijun
          Date: 2015-11-25 03:59:29 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/000dd74c5ad7 User: weijun Date: 2015-11-25 03:59:29 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/000dd74c5ad7
          User: lana
          Date: 2015-12-10 00:27:01 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/000dd74c5ad7 User: lana Date: 2015-12-10 00:27:01 +0000

            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: