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 generating, importing and exporting RSA keys for RSA-OAEP. Tes
t that they can't be used with another algorithm."); | 12 description("Test generating, importing and exporting RSA keys for RSA-OAEP. Tes
t that they can't be used with another algorithm."); |
13 | 13 |
14 jsTestIsAsync = true; | 14 jsTestIsAsync = true; |
15 | 15 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 shouldBe("exportedPublicKey.algorithm.hash.name", "'SHA-1'"); | 80 shouldBe("exportedPublicKey.algorithm.hash.name", "'SHA-1'"); |
81 shouldBe("exportedPublicKey.extractable", "true"); | 81 shouldBe("exportedPublicKey.extractable", "true"); |
82 shouldBe("exportedPublicKey.usages", "['encrypt','wrapKey']"); | 82 shouldBe("exportedPublicKey.usages", "['encrypt','wrapKey']"); |
83 | 83 |
84 }).then(finishJSTest, failAndFinishJSTest); | 84 }).then(finishJSTest, failAndFinishJSTest); |
85 | 85 |
86 </script> | 86 </script> |
87 | 87 |
88 </body> | 88 </body> |
89 </html> | 89 </html> |
OLD | NEW |