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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Test importing a JWK key for AES-CBC.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Importing a key...
7
8 PASS key.type is 'secret'
9 PASS key.extractable is false
10 PASS key.algorithm.name is 'AES-CBC'
11 PASS key.algorithm.length is 192
12 PASS key.usages is ["encrypt"]
13
14 Using the key to encrypt plaintext...
15 PASS bytesToHexString(new Uint8Array(encryptionResult)) is '4f021db243bc633d7178 183a9fa071e8b4d9ada9ad7dedf4e5e738763f69145a571b242012fb7ae07fa9baac3df102e008b0 e27988598881d920a9e64f5615cd612ccd79224b350935d45dd6a98f8176'
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19
OLDNEW
« 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