Index: LayoutTests/crypto/ecdsa-import-jwk-expected.txt |
diff --git a/LayoutTests/crypto/ecdsa-import-jwk-expected.txt b/LayoutTests/crypto/ecdsa-import-jwk-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6aebf3ec92d77a5eb29f4770d3a16d40df3e20d4 |
--- /dev/null |
+++ b/LayoutTests/crypto/ecdsa-import-jwk-expected.txt |
@@ -0,0 +1,22 @@ |
+Test importing an EC public and private key for ECDSA. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+Importing a public key... |
+PASS publicKey.toString() is '[object CryptoKey]' |
+PASS publicKey.type is 'public' |
+PASS publicKey.usages is ['verify'] |
+PASS publicKey.algorithm.name is 'ECDSA' |
+PASS publicKey.algorithm.namedCurve is 'P-256' |
+ |
+Importing a private key... |
+PASS privateKey.toString() is '[object CryptoKey]' |
+PASS privateKey.type is 'private' |
+PASS privateKey.usages is ['sign'] |
+PASS privateKey.algorithm.name is 'ECDSA' |
+PASS privateKey.algorithm.namedCurve is 'P-384' |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |