Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Unified Diff: LayoutTests/crypto/ecdsa-import-jwk-expected.txt

Issue 707753002: WebCrypto: Add LayoutTests for ECDSA. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
+

Powered by Google App Engine
This is Rietveld 408576698