OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 <script src="resources/common.js"></script> | 5 <script src="resources/common.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <p id="description"></p> | 8 <p id="description"></p> |
9 <div id="console"></div> | 9 <div id="console"></div> |
10 | 10 |
11 <script> | 11 <script> |
12 description("Test exporting a private RSA key."); | 12 description("Test exporting a private RSA key."); |
13 | 13 |
14 jsTestIsAsync = true; | 14 jsTestIsAsync = true; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 shouldBe("exportedJWK.alg", "privateKeyJSON.alg"); | 53 shouldBe("exportedJWK.alg", "privateKeyJSON.alg"); |
54 shouldBe("exportedJWK.ext", "true"); | 54 shouldBe("exportedJWK.ext", "true"); |
55 shouldBe("exportedJWK.key_ops", "['sign']"); | 55 shouldBe("exportedJWK.key_ops", "['sign']"); |
56 shouldBe("exportedJWK.use", "undefined"); | 56 shouldBe("exportedJWK.use", "undefined"); |
57 }).then(finishJSTest, failAndFinishJSTest); | 57 }).then(finishJSTest, failAndFinishJSTest); |
58 | 58 |
59 </script> | 59 </script> |
60 | 60 |
61 </body> | 61 </body> |
62 </html> | 62 </html> |
OLD | NEW |