OLD | NEW |
(Empty) | |
| 1 Test exporting a public EC key. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 |
| 7 Importing a SPKI key... |
| 8 |
| 9 Exporting the key as JWK... |
| 10 PASS exportedJWK.kty is "EC" |
| 11 PASS exportedJWK.crv is "P-256" |
| 12 PASS exportedJWK.x is "nLDPaTA9r8dh1ORoe07PA55tNKuWSvgIENjVWKSo1vc" |
| 13 PASS exportedJWK.y is "LVEjOheIkgqG7gihlix576MX-3h54pfa0hRtuZX6HHg" |
| 14 PASS exportedJWK.alg is undefined |
| 15 PASS exportedJWK.ext is true |
| 16 PASS exportedJWK.key_ops is ['verify'] |
| 17 PASS exportedJWK.use is undefined |
| 18 |
| 19 Exporting the key as SPKI... |
| 20 PASS: exportedSpki should be [3059301306072a8648ce3d020106082a8648ce3d0301070342
00049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d51233a1788
920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78] and was |
| 21 PASS successfullyParsed is true |
| 22 |
| 23 TEST COMPLETE |
| 24 |
OLD | NEW |