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

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

XMLWordPrintable

    • b20
    • Verified

      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.

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

              Created:
              Updated:
              Resolved: