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

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

Issue 806913006: [WebCrypto] Move LayoutTests from crypto to crypto/subtle (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update path for deserialize legacy tests Created 6 years 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
« no previous file with comments | « LayoutTests/crypto/hmac-import-jwk.html ('k') | LayoutTests/crypto/hmac-legacy-empty-key.html » ('j') | 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 importing a JWK key for HMAC.
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 'HMAC'
11 PASS key.algorithm.length is 256
12 PASS key.usages is ["sign", "verify"]
13
14 Using the key to sign message 'foo'...
15 PASS bytesToHexString(new Uint8Array(signature)) is 'e03736fe098892b2a2da7781243 1f7c014d32e2fd69f3bcff883ac923a8fa2da'
16
17 Verifying the signature...
18 PASS verificationResult is true
19 PASS successfullyParsed is true
20
21 TEST COMPLETE
22
OLDNEW
« no previous file with comments | « LayoutTests/crypto/hmac-import-jwk.html ('k') | LayoutTests/crypto/hmac-legacy-empty-key.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698