OLD | NEW |
1 Tests wrapping and unwrapping of AES-CBC keys using AES-KW and raw format | 1 Tests wrapping and unwrapping of AES-CBC keys using AES-KW and raw format |
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 PASS: Wrapped key data should be [1fa68b0a8112b447aef34bd8fb5a7b829d3e862371d2cf
e5] and was | 6 PASS: Wrapped key data should be [1fa68b0a8112b447aef34bd8fb5a7b829d3e862371d2cf
e5] and was |
7 PASS unwrappedKey.algorithm.name is "AES-CBC" | 7 PASS unwrappedKey.algorithm.name is "HMAC" |
| 8 PASS unwrappedKey.algorithm.hash.name is "SHA-1" |
8 PASS unwrappedKey.algorithm.length is 128 | 9 PASS unwrappedKey.algorithm.length is 128 |
9 PASS typeof unwrappedKey.extractable is 'boolean' | 10 PASS typeof unwrappedKey.extractable is 'boolean' |
10 PASS unwrappedKey.extractable is true | 11 PASS unwrappedKey.extractable is true |
11 PASS unwrappedKey.usages.join(',') is "decrypt" | 12 PASS unwrappedKey.usages.join(',') is "sign" |
12 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff] and was | 13 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff] and was |
13 PASS: Wrapped key data should be [96778b25ae6ca435f92b5b97c050aed2468ab8a17ad84e
5d] and was | 14 PASS: Wrapped key data should be [64e8c3f9ce0f5ba263e9777905818a2a93c8191e7d6e8a
e7] and was |
14 PASS unwrappedKey.algorithm.name is "AES-CBC" | 15 PASS unwrappedKey.algorithm.name is "HMAC" |
| 16 PASS unwrappedKey.algorithm.hash.name is "SHA-1" |
15 PASS unwrappedKey.algorithm.length is 128 | 17 PASS unwrappedKey.algorithm.length is 128 |
16 PASS typeof unwrappedKey.extractable is 'boolean' | 18 PASS typeof unwrappedKey.extractable is 'boolean' |
17 PASS unwrappedKey.extractable is true | 19 PASS unwrappedKey.extractable is true |
18 PASS unwrappedKey.usages.join(',') is "decrypt" | 20 PASS unwrappedKey.usages.join(',') is "sign" |
19 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff] and was | 21 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff] and was |
20 PASS: Wrapped key data should be [64e8c3f9ce0f5ba263e9777905818a2a93c8191e7d6e8a
e7] and was | 22 PASS: Wrapped key data should be [a8f9bc1612c68b3ff6e6f4fbe30e71e4769c8b80a32cb8
958cd5d17d6b254da1] and was |
21 PASS unwrappedKey.algorithm.name is "AES-CBC" | 23 PASS unwrappedKey.algorithm.name is "HMAC" |
22 PASS unwrappedKey.algorithm.length is 128 | 24 PASS unwrappedKey.algorithm.hash.name is "SHA-1" |
23 PASS typeof unwrappedKey.extractable is 'boolean' | |
24 PASS unwrappedKey.extractable is true | |
25 PASS unwrappedKey.usages.join(',') is "decrypt" | |
26 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff] and was | |
27 PASS: Wrapped key data should be [031d33264e15d33268f24ec260743edce1c6c7ddee725a
936ba814915c6762d2] and was | |
28 PASS unwrappedKey.algorithm.name is "AES-CBC" | |
29 PASS unwrappedKey.algorithm.length is 192 | 25 PASS unwrappedKey.algorithm.length is 192 |
30 PASS typeof unwrappedKey.extractable is 'boolean' | 26 PASS typeof unwrappedKey.extractable is 'boolean' |
31 PASS unwrappedKey.extractable is true | 27 PASS unwrappedKey.extractable is true |
32 PASS unwrappedKey.usages.join(',') is "decrypt" | 28 PASS unwrappedKey.usages.join(',') is "sign" |
33 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff000102030405
0607] and was | |
34 PASS: Wrapped key data should be [a8f9bc1612c68b3ff6e6f4fbe30e71e4769c8b80a32cb8
958cd5d17d6b254da1] and was | |
35 PASS unwrappedKey.algorithm.name is "AES-CBC" | |
36 PASS unwrappedKey.algorithm.length is 192 | |
37 PASS typeof unwrappedKey.extractable is 'boolean' | |
38 PASS unwrappedKey.extractable is true | |
39 PASS unwrappedKey.usages.join(',') is "decrypt" | |
40 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff000102030405
0607] and was | 29 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff000102030405
0607] and was |
41 PASS: Wrapped key data should be [28c9f404c4b810f4cbccb35cfb87f8263f5786e2d80ed3
26cbc7f0e71a99f43bfb988b9b7a02dd21] and was | 30 PASS: Wrapped key data should be [28c9f404c4b810f4cbccb35cfb87f8263f5786e2d80ed3
26cbc7f0e71a99f43bfb988b9b7a02dd21] and was |
42 PASS unwrappedKey.algorithm.name is "AES-CBC" | 31 PASS unwrappedKey.algorithm.name is "HMAC" |
| 32 PASS unwrappedKey.algorithm.hash.name is "SHA-1" |
43 PASS unwrappedKey.algorithm.length is 256 | 33 PASS unwrappedKey.algorithm.length is 256 |
44 PASS typeof unwrappedKey.extractable is 'boolean' | 34 PASS typeof unwrappedKey.extractable is 'boolean' |
45 PASS unwrappedKey.extractable is true | 35 PASS unwrappedKey.extractable is true |
46 PASS unwrappedKey.usages.join(',') is "decrypt" | 36 PASS unwrappedKey.usages.join(',') is "sign" |
47 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff000102030405
060708090a0b0c0d0e0f] and was | 37 PASS: Unwrapped key data should be [00112233445566778899aabbccddeeff000102030405
060708090a0b0c0d0e0f] and was |
48 PASS successfullyParsed is true | 38 PASS successfullyParsed is true |
49 | 39 |
50 TEST COMPLETE | 40 TEST COMPLETE |
51 | 41 |
OLD | NEW |