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

Valerie Peng valeriep at openjdk.java.net
Thu Jan 14 20:02:07 UTC 2021


On Wed, 13 Jan 2021 16:11:02 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update copyright year from 2020 to 2021.
>
> src/java.base/share/classes/sun/security/rsa/RSAKeyFactory.java line 47:
> 
>> 45:  * For public keys:
>> 46:  *  . PublicKey with an X.509 encoding
>> 47:  *  . RSA PublicKey with an PKCS#1 encoding
> 
> The line above has not mentioned "RSA". Maybe better to be consistent. Same as for private key.

Sure~

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

PR: https://git.openjdk.java.net/jdk/pull/1787



More information about the security-dev mailing list