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