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

Side by Side Diff: LayoutTests/crypto/subtle/hmac/import-jwk-expected.txt

Issue 957713004: [WebCrypto] Split LayoutTests/crypto/subtle into per-algorithm directories (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to latest master Created 5 years, 10 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
OLDNEW
1 Test importing a JWK key for HMAC. 1 Test importing a JWK key for HMAC.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Importing a key... 6 Importing a key...
7 7
8 PASS key.type is 'secret' 8 PASS key.type is 'secret'
9 PASS key.extractable is false 9 PASS key.extractable is false
10 PASS key.algorithm.name is 'HMAC' 10 PASS key.algorithm.name is 'HMAC'
11 PASS key.algorithm.length is 256 11 PASS key.algorithm.length is 256
12 PASS key.usages is ["sign", "verify"] 12 PASS key.usages is ["sign", "verify"]
13 13
14 Using the key to sign message 'foo'... 14 Using the key to sign message 'foo'...
15 PASS bytesToHexString(new Uint8Array(signature)) is 'e03736fe098892b2a2da7781243 1f7c014d32e2fd69f3bcff883ac923a8fa2da' 15 PASS bytesToHexString(new Uint8Array(signature)) is 'e03736fe098892b2a2da7781243 1f7c014d32e2fd69f3bcff883ac923a8fa2da'
16 16
17 Verifying the signature... 17 Verifying the signature...
18 PASS verificationResult is true 18 PASS verificationResult is true
19 PASS successfullyParsed is true 19 PASS successfullyParsed is true
20 20
21 TEST COMPLETE 21 TEST COMPLETE
22 22
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/hmac/import-jwk.html ('k') | LayoutTests/crypto/subtle/hmac/legacy-empty-key.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698