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

   https://cr.openjdk.java.net/~weijun/8242811/webrev.00/

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.

Thanks,
Max




More information about the security-dev mailing list