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

Side by Side Diff: LayoutTests/crypto/rsa-oaep-wrap-unwrap-aes-expected.txt

Issue 310513004: Import WebKit RSA-OAEP LayoutTests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add another test 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/crypto/rsa-oaep-wrap-unwrap-aes.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Test wrapping and unwrapping AES keys with RSA-OAEP.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Importing RSA keys...
7 Importing an AES key...
8 Wrapping it...
9 PASS wrappedKey.toString() is '[object ArrayBuffer]'
10 Unwrapping it...
11 PASS unwrappedKey.toString() is '[object Key]'
12 PASS unwrappedKey.type is 'secret'
13 PASS unwrappedKey.extractable is true
14 PASS unwrappedKey.algorithm.name is 'AES-CBC'
15 PASS unwrappedKey.algorithm.length is 256
16 PASS unwrappedKey.usages is ['encrypt', 'decrypt']
17 Exporting it...
18 PASS bytesToHexString(unwrappedKeyData) is bytesToHexString(aesKeyData)
19
20 Wrapping the same key as JWK...
21 PASS wrappedKey.toString() is '[object ArrayBuffer]'
22 Unwrapping it...
23 PASS unwrappedKey.toString() is '[object Key]'
24 PASS unwrappedKey.type is 'secret'
25 PASS unwrappedKey.extractable is true
26 PASS unwrappedKey.algorithm.name is 'AES-CBC'
27 PASS unwrappedKey.algorithm.length is 256
28 PASS unwrappedKey.usages is ['encrypt', 'decrypt']
29 Exporting it...
30 PASS bytesToHexString(unwrappedKeyData) is bytesToHexString(aesKeyData)
31 PASS successfullyParsed is true
32
33 TEST COMPLETE
34
OLDNEW
« no previous file with comments | « LayoutTests/crypto/rsa-oaep-wrap-unwrap-aes.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698