RFR: 8023980: JCE doesn't provide any class to handle RSA private key in PKCS#1 [v4]

Valerie Peng valeriep at openjdk.java.net
Thu Jan 14 23:18:18 UTC 2021


> 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

Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:

  Update to address review comments from Weijun

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1787/files
  - new: https://git.openjdk.java.net/jdk/pull/1787/files/b48afddd..6f498af0

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1787&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1787&range=02-03

  Stats: 26 lines in 4 files changed: 3 ins; 2 del; 21 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