RFR: 8023980: JCE doesn't provide any class to handle RSA private key in PKCS#1
Valerie Peng
valeriep at openjdk.java.net
Tue Dec 15 20:35:06 UTC 2020
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
-------------
Commit messages:
- 8023980: JCE doesn't provide any class to handle RSA private key in PKCS #1
Changes: https://git.openjdk.java.net/jdk/pull/1787/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1787&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8023980
Stats: 458 lines in 6 files changed: 302 ins; 55 del; 101 mod
Patch: https://git.openjdk.java.net/jdk/pull/1787.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1787/head:pull/1787
PR: https://git.openjdk.java.net/jdk/pull/1787
More information about the security-dev
mailing list