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

MSCAPI keystore should accept Certificate[] in setEntry()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • security-libs
    • None

        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.

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

                Created:
                Updated:
                Resolved: