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

AlgorithmId::getDefaultAlgorithmParameterSpec returns incompatible PSSParameterSpec for an RSASSA-PSS key

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 15
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b20
    • Verification:
      Verified

      Description

      When getDefaultAlgorithmParameterSpec("RSASSA-PSS", key) is called on a RSASSA-PSS key, the returned PSSParameterSpec is determined by the keysize of the key (just like when key is a normal RSA key). Instead, it should be the PSSParameterSpec associated with the key itself.

        Attachments

          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: