Uploaded image for project: 'WSS4J'
  1. WSS4J
  2. WSS-210

NPE in CryptoBase.getAliasForX509Cert(Certificate cert) if Keystore does not contain a Certifcate entry for each alias

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.8
    • Fix Version/s: 1.5.9, 1.6
    • Component/s: WSS4J Core
    • Labels:
      None

      Description

      CryptoBase.getAliasForX509Cert(Certificate cert) throws a NullPointerException if the Keystore does not contain a Certificate entry for each alias (i.e. if it contains also a SecretKey).

        Attachments

        1. CryptoBase.java.patch
          0.7 kB
          Matthias Germann

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              germm Matthias Germann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: