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

Weijun Wang weijun.wang at oracle.com
Wed Apr 15 10:34:44 UTC 2020

Please take a review at


The AlgorithmId::getDefaultAlgorithmParameterSpec method is used internally to retrieve a default AlgorithmParameterSpec to initialize a Signature, mainly be keytool.

The test shows a case where it can be called.


More information about the security-dev mailing list