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:15:06 UTC 2021
On Wed, 13 Jan 2021 17:02:50 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 89:
>
>> 87: static {
>> 88: byte[] encodedPriv = Base64.getDecoder().decode(PKCS1_PRIV_STR);
>> 89: CUSTOM_PRIV = new PrivateKey() {
>
> How about just P1_PRIV?
Either one is fine. I can change to P1_PRIV.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1787
More information about the security-dev
mailing list