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

MSCAPI keystore should accept Certificate[] in setEntry()

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 9
    • security-libs
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: