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

Unified Diff: LayoutTests/crypto/ec-export-public-key-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/ec-export-public-key-expected.txt
diff --git a/LayoutTests/crypto/ec-export-public-key-expected.txt b/LayoutTests/crypto/ec-export-public-key-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a40568f8aa35f152ffdcaaf319d7620ffe18f46
--- /dev/null
+++ b/LayoutTests/crypto/ec-export-public-key-expected.txt
@@ -0,0 +1,24 @@
+Test exporting a public EC key.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+
+Importing a SPKI key...
+
+Exporting the key as JWK...
+PASS exportedJWK.kty is "EC"
+PASS exportedJWK.crv is "P-256"
+PASS exportedJWK.x is "nLDPaTA9r8dh1ORoe07PA55tNKuWSvgIENjVWKSo1vc"
+PASS exportedJWK.y is "LVEjOheIkgqG7gihlix576MX-3h54pfa0hRtuZX6HHg"
+PASS exportedJWK.alg is undefined
+PASS exportedJWK.ext is true
+PASS exportedJWK.key_ops is ['verify']
+PASS exportedJWK.use is undefined
+
+Exporting the key as SPKI...
+PASS: exportedSpki should be [3059301306072a8648ce3d020106082a8648ce3d030107034200049cb0cf69303dafc761d4e4687b4ecf039e6d34ab964af80810d8d558a4a8d6f72d51233a1788920a86ee08a1962c79efa317fb7879e297dad2146db995fa1c78] and was
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698