| <!DOCTYPE html> |
| <html> |
| <head> |
| <script src="../../../resources/js-test.js"></script> |
| <script src="../resources/common.js"></script> |
| <script src="../resources/ec-cloneKey.js"></script> |
| </head> |
| <body> |
| <script> |
| description('Tests structured cloning of ECDSA keys'); |
| |
| jsTestIsAsync = true; |
| |
| function testClonePublicKeys() |
| { |
| return testCloneEcPublicKeys('ECDSA', [[],['verify']]); |
| } |
| |
| function testClonePrivateKeys() |
| { |
| return testCloneEcPrivateKeys('ECDSA', [['sign']]) |
| } |
| |
| testClonePublicKeys().then(testClonePrivateKeys).then(finishJSTest, failAndFinishJSTest); |
| </script> |
| </body> |
| </html> |