OLD | NEW |
| (Empty) |
1 Tests wrapping and unwrapping of AES-CBC keys using AES-KW and raw format | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS: Wrapped key data should be [1fa68b0a8112b447aef34bd8fb5a7b829d3e862371d2cf
e5] and was | |
7 PASS unwrappedKey.algorithm.name is "HMAC" | |
8 PASS unwrappedKey.algorithm.hash.name is "SHA-1" | |
9 PASS unwrappedKey.algorithm.length is 128 | |
10 PASS typeof unwrappedKey.extractable is 'boolean' | |
11 PASS unwrappedKey.extractable is true | |
12 PASS unwrappedKey.usages.join(',') is "sign" | |
13 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff] and was | |
14 PASS: Wrapped key data should be [64e8c3f9ce0f5ba263e9777905818a2a93c8191e7d6e8a
e7] and was | |
15 PASS unwrappedKey.algorithm.name is "HMAC" | |
16 PASS unwrappedKey.algorithm.hash.name is "SHA-1" | |
17 PASS unwrappedKey.algorithm.length is 128 | |
18 PASS typeof unwrappedKey.extractable is 'boolean' | |
19 PASS unwrappedKey.extractable is true | |
20 PASS unwrappedKey.usages.join(',') is "sign" | |
21 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff] and was | |
22 PASS: Wrapped key data should be [a8f9bc1612c68b3ff6e6f4fbe30e71e4769c8b80a32cb8
958cd5d17d6b254da1] and was | |
23 PASS unwrappedKey.algorithm.name is "HMAC" | |
24 PASS unwrappedKey.algorithm.hash.name is "SHA-1" | |
25 PASS unwrappedKey.algorithm.length is 192 | |
26 PASS typeof unwrappedKey.extractable is 'boolean' | |
27 PASS unwrappedKey.extractable is true | |
28 PASS unwrappedKey.usages.join(',') is "sign" | |
29 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff000102030405
0607] and was | |
30 PASS: Wrapped key data should be [28c9f404c4b810f4cbccb35cfb87f8263f5786e2d80ed3
26cbc7f0e71a99f43bfb988b9b7a02dd21] and was | |
31 PASS unwrappedKey.algorithm.name is "HMAC" | |
32 PASS unwrappedKey.algorithm.hash.name is "SHA-1" | |
33 PASS unwrappedKey.algorithm.length is 256 | |
34 PASS typeof unwrappedKey.extractable is 'boolean' | |
35 PASS unwrappedKey.extractable is true | |
36 PASS unwrappedKey.usages.join(',') is "sign" | |
37 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff000102030405
060708090a0b0c0d0e0f] and was | |
38 PASS successfullyParsed is true | |
39 | |
40 TEST COMPLETE | |
41 | |
OLD | NEW |