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

Unified Diff: LayoutTests/crypto/rsa-oaep-parseAlgorithmFailures-expected.txt

Issue 289073005: [webcrypto] Hook up parameter normalization for RSA-OAEP. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months 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/rsa-oaep-parseAlgorithmFailures-expected.txt
diff --git a/LayoutTests/crypto/rsa-oaep-parseAlgorithmFailures-expected.txt b/LayoutTests/crypto/rsa-oaep-parseAlgorithmFailures-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3eb985e4f0797ff8a57e1945f13dbcdd581b5dee
--- /dev/null
+++ b/LayoutTests/crypto/rsa-oaep-parseAlgorithmFailures-expected.txt
@@ -0,0 +1,19 @@
+Tests bad algorithm inputs for RSA-OAEP encrypt/decrypt
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS key.algorithm.name is "RSA-OAEP"
+PASS key.algorithm.hash.name is "SHA-256"
+PASS key.type is "public"
+PASS typeof key.extractable is 'boolean'
+PASS key.extractable is true
+PASS key.usages.join(',') is "encrypt,decrypt"
+error is: SyntaxError: RsaOaepParams: label: Not an ArrayBufferView
+error is: SyntaxError: RsaOaepParams: label: Not an ArrayBufferView
+error is: SyntaxError: RsaOaepParams: label: Not an ArrayBufferView
+error is: SyntaxError: RsaOaepParams: label: Not an ArrayBufferView
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698