RFR: 8023980: JCE doesn't provide any class to handle RSA private key in PKCS#1
Valerie Peng
valeriep at openjdk.java.net
Wed Jan 13 00:32:55 UTC 2021
On Tue, 15 Dec 2020 20:29:08 GMT, Valerie Peng <valeriep at openjdk.org> wrote:
> Can someone help review this?
>
> This change enhances RSA KeyFactory impl of SunRsaSign and SunPKCS11 providers to accept RSA keys in PKCS#1 format and encoding and translate them to provider-specific RSA keys. Updated the relevant tests with a sample PKCS#1 encoded key pair.
>
> Thanks,
> Valerie
Ping~ Anyone has time to looks at this? I will sync with the master since it's been a while...
The changes are straight forward, just add support for PKCS#1 encoded RSA keys. There is already existing code parsing the PKCS#1 encoding underneath the PKCS#8 layer. This is more like code-refactoring. Comments?
-------------
PR: https://git.openjdk.java.net/jdk/pull/1787
More information about the security-dev
mailing list