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

Goetz Lindenmaier goetz at openjdk.org
Fri Jun 16 11:23:14 UTC 2023


On Fri, 16 Jun 2023 07:30:06 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Looks okay to me. I noticed that src/java.base/share/classes/sun/security/rsa/RSAPrivateCrtKeyImpl.java public static RSAPrivateKey newKey(KeyType type, String format, byte[] encoded) The case "PKCS#8" differs from the change in head, but it seems to be okay as it is, but maybe you want to check it again if the diff is really wanted.

The call to checkComponents() is intendend. That is from a later change that was backported before.

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/1946#issuecomment-1594518236


More information about the jdk-updates-dev mailing list