RFR[11] JDK-8146293 "Add Support for RSA-PSS Signature Algorithm as in PKCS#1 v2.2"

Valerie Peng valerie.peng at oracle.com
Wed Mar 28 01:40:35 UTC 2018

Hi Brad,

Can you please help review the changes for RSA-PSS support? I also added 
some minor enhancement which add 2 more digest algorithms for OAEP padding.
There are quite some changes involved. The main changes are in the 
SunRsaSign provider, i.e. sun.security.rsa packages. I reused existing 
RSAKeyFactory, RSAKeyPairGenerator, and the RSA KeyImpl classes as much 
as possible. However, given that RSA-PSS signatures requires parameters, 
I put its implementation in a separate class, i.e. RSAPSSSignature.java.

RFE: https://bugs.openjdk.java.net/browse/JDK-8146293
Webrev: http://cr.openjdk.java.net/~valeriep/8146293/webrev.00/

Existing and new regression tests have been run and result looks fine.

More information about the security-dev mailing list