OLD | NEW |
(Empty) | |
| 1 Tests structured cloning of AES-KW keys |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS importedKey.extraProperty is "hi" |
| 7 PASS importedKey.type is "secret" |
| 8 PASS typeof importedKey.extractable is 'boolean' |
| 9 PASS importedKey.extractable is true |
| 10 PASS importedKey.algorithm.name is "AES-KW" |
| 11 PASS key.algorithm.length is 128 |
| 12 PASS importedKey.usages.join(',') is "wrapKey,unwrapKey" |
| 13 PASS importedKey is not clonedKey |
| 14 PASS clonedKey.extraProperty is undefined. |
| 15 PASS clonedKey.type is "secret" |
| 16 PASS typeof clonedKey.extractable is 'boolean' |
| 17 PASS clonedKey.extractable is true |
| 18 PASS clonedKey.algorithm.name is "AES-KW" |
| 19 PASS key.algorithm.length is 128 |
| 20 PASS clonedKey.usages.join(',') is "wrapKey,unwrapKey" |
| 21 Serialized key bytes: 3f004b010c10c1011030112233445566778899aabbccddeeff00 |
| 22 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was |
| 23 |
| 24 PASS importedKey.extraProperty is "hi" |
| 25 PASS importedKey.type is "secret" |
| 26 PASS typeof importedKey.extractable is 'boolean' |
| 27 PASS importedKey.extractable is true |
| 28 PASS importedKey.algorithm.name is "AES-KW" |
| 29 PASS key.algorithm.length is 256 |
| 30 PASS importedKey.usages.join(',') is "wrapKey,unwrapKey" |
| 31 PASS importedKey is not clonedKey |
| 32 PASS clonedKey.extraProperty is undefined. |
| 33 PASS clonedKey.type is "secret" |
| 34 PASS typeof clonedKey.extractable is 'boolean' |
| 35 PASS clonedKey.extractable is true |
| 36 PASS clonedKey.algorithm.name is "AES-KW" |
| 37 PASS key.algorithm.length is 256 |
| 38 PASS clonedKey.usages.join(',') is "wrapKey,unwrapKey" |
| 39 Serialized key bytes: 3f004b010c20c1012000112233445546778899aabbccddeeff00010203
0405060708090a0b0c0d0e0f00 |
| 40 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was |
| 41 |
| 42 PASS importedKey.extraProperty is "hi" |
| 43 PASS importedKey.type is "secret" |
| 44 PASS typeof importedKey.extractable is 'boolean' |
| 45 PASS importedKey.extractable is false |
| 46 PASS importedKey.algorithm.name is "AES-KW" |
| 47 PASS key.algorithm.length is 128 |
| 48 PASS importedKey.usages.join(',') is "wrapKey,unwrapKey" |
| 49 PASS importedKey is not clonedKey |
| 50 PASS clonedKey.extraProperty is undefined. |
| 51 PASS clonedKey.type is "secret" |
| 52 PASS typeof clonedKey.extractable is 'boolean' |
| 53 PASS clonedKey.extractable is false |
| 54 PASS clonedKey.algorithm.name is "AES-KW" |
| 55 PASS key.algorithm.length is 128 |
| 56 PASS clonedKey.usages.join(',') is "wrapKey,unwrapKey" |
| 57 Serialized key bytes: 3f004b010c10c0011030112233445566778899aabbccddeeff00 |
| 58 |
| 59 PASS importedKey.extraProperty is "hi" |
| 60 PASS importedKey.type is "secret" |
| 61 PASS typeof importedKey.extractable is 'boolean' |
| 62 PASS importedKey.extractable is false |
| 63 PASS importedKey.algorithm.name is "AES-KW" |
| 64 PASS key.algorithm.length is 256 |
| 65 PASS importedKey.usages.join(',') is "wrapKey,unwrapKey" |
| 66 PASS importedKey is not clonedKey |
| 67 PASS clonedKey.extraProperty is undefined. |
| 68 PASS clonedKey.type is "secret" |
| 69 PASS typeof clonedKey.extractable is 'boolean' |
| 70 PASS clonedKey.extractable is false |
| 71 PASS clonedKey.algorithm.name is "AES-KW" |
| 72 PASS key.algorithm.length is 256 |
| 73 PASS clonedKey.usages.join(',') is "wrapKey,unwrapKey" |
| 74 Serialized key bytes: 3f004b010c20c0012000112233445546778899aabbccddeeff00010203
0405060708090a0b0c0d0e0f00 |
| 75 |
| 76 PASS successfullyParsed is true |
| 77 |
| 78 TEST COMPLETE |
| 79 |
OLD | NEW |