| OLD | NEW |
| (Empty) |
| 1 Test exporting a private RSA key. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 | |
| 7 Importing a PKCS8 key... | |
| 8 | |
| 9 Exporting the key as JWK... | |
| 10 PASS exportedJWK.kty is "EC" | |
| 11 PASS exportedJWK.crv is "P-384" | |
| 12 PASS exportedJWK.d is "pJLOj6kAhMIn4aMveXTTnp_2en6HBew0GbNftgdYK-vUYeCxUgrHbsLdT
ptj665x" | |
| 13 PASS exportedJWK.x is "5V_ubEnY1SP1znv5wEJc5P9lBwi33lz7CVkBUjl5p_BCYC2zCFRzU2mBO
1w_Xvho" | |
| 14 PASS exportedJWK.y is "KPWcxdxQmJKpiNOKjiUZ3j0MT9D72wmT448YUGwXYGxeJCSSRvHOlJg6U
2HFvpg-" | |
| 15 PASS exportedJWK.alg is undefined | |
| 16 PASS exportedJWK.ext is true | |
| 17 PASS exportedJWK.key_ops is ['sign'] | |
| 18 PASS exportedJWK.use is undefined | |
| 19 | |
| 20 Exporting the key as PKCS8... | |
| 21 PASS: exportedPkcs8 should be [3081b6020100301006072a8648ce3d020106052b810400220
4819e30819b0201010430a492ce8fa90084c227e1a32f7974d39e9ff67a7e8705ec3419b35fb6075
82bebd461e0b1520ac76ec2dd4e9b63ebae71a16403620004e55fee6c49d8d523f5ce7bf9c0425ce
4ff650708b7de5cfb095901523979a7f042602db30854735369813b5c3f5ef86828f59cc5dc50989
2a988d38a8e2519de3d0c4fd0fbdb0993e38f18506c17606c5e24249246f1ce94983a5361c5be983
e] and was | |
| 22 PASS successfullyParsed is true | |
| 23 | |
| 24 TEST COMPLETE | |
| 25 | |
| OLD | NEW |