| OLD | NEW |
| (Empty) |
| 1 Test exporting an RSA key. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 | |
| 7 Importing a JWK key... | |
| 8 error is: SyntaxError: Invalid keyFormat argument | |
| 9 error is: SyntaxError: Invalid keyFormat argument | |
| 10 error is: SyntaxError: Invalid keyFormat argument | |
| 11 error is: SyntaxError: Invalid keyFormat argument | |
| 12 error is: SyntaxError: Invalid keyFormat argument | |
| 13 | |
| 14 Exporting the key as JWK... | |
| 15 PASS exportedJWK.kty is 'RSA' | |
| 16 PASS exportedJWK.n is publicKeyJSON.n | |
| 17 PASS exportedJWK.e is publicKeyJSON.e | |
| 18 PASS exportedJWK.alg is 'RS256' | |
| 19 PASS exportedJWK.ext is true | |
| 20 PASS exportedJWK.use is undefined | |
| 21 PASS exportedJWK.key_ops is ['verify'] | |
| 22 PASS successfullyParsed is true | |
| 23 | |
| 24 TEST COMPLETE | |
| 25 | |
| OLD | NEW |