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 21:06:05 UTC 2021
On Wed, 13 Jan 2021 17:00:36 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.
>
> test/jdk/sun/security/rsa/TestKeyFactory.java line 159:
>
>> 157: throw new Exception("Encodings not equal");
>> 158: }
>> 159: }
>
> Can we combine the 2 blocks above into one? That is to say, when key1 and key2 have the same format, we check the equality of both getEncoded() and themselves. Same for the P11 test.
Sure, will do.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1787
More information about the security-dev
mailing list