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

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

Issue 298023002: [webcrypto] Import WebKit's webcrypto tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove FIXME for unrecognized jwk usages (supported now) Created 6 years, 6 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
« no previous file with comments | « LayoutTests/crypto/aes-cbc-import-jwk.html ('k') | LayoutTests/crypto/aes-cbc-invalid-length.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/aes-cbc-import-jwk-expected.txt
diff --git a/LayoutTests/crypto/aes-cbc-import-jwk-expected.txt b/LayoutTests/crypto/aes-cbc-import-jwk-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40dfb642630399d52c8ae6a9dc22aedae1108ea1
--- /dev/null
+++ b/LayoutTests/crypto/aes-cbc-import-jwk-expected.txt
@@ -0,0 +1,19 @@
+Test importing a JWK key for AES-CBC.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Importing a key...
+
+PASS key.type is 'secret'
+PASS key.extractable is false
+PASS key.algorithm.name is 'AES-CBC'
+PASS key.algorithm.length is 192
+PASS key.usages is ["encrypt"]
+
+Using the key to encrypt plaintext...
+PASS bytesToHexString(new Uint8Array(encryptionResult)) is '4f021db243bc633d7178183a9fa071e8b4d9ada9ad7dedf4e5e738763f69145a571b242012fb7ae07fa9baac3df102e008b0e27988598881d920a9e64f5615cd612ccd79224b350935d45dd6a98f8176'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/crypto/aes-cbc-import-jwk.html ('k') | LayoutTests/crypto/aes-cbc-invalid-length.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698