| OLD | NEW |
| (Empty) |
| 1 Tests structured cloning of AES 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-CBC" | |
| 11 PASS importedKey.algorithm.length is 128 | |
| 12 PASS importedKey.usages.join(',') is "" | |
| 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-CBC" | |
| 19 PASS clonedKey.algorithm.length is 128 | |
| 20 PASS clonedKey.usages.join(',') is "" | |
| 21 Serialized key bytes: 3f004b010110011030112233445566778899aabbccddeeff | |
| 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-CBC" | |
| 29 PASS importedKey.algorithm.length is 256 | |
| 30 PASS importedKey.usages.join(',') is "" | |
| 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-CBC" | |
| 37 PASS clonedKey.algorithm.length is 256 | |
| 38 PASS clonedKey.usages.join(',') is "" | |
| 39 Serialized key bytes: 3f004b010120012000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 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 true | |
| 46 PASS importedKey.algorithm.name is "AES-CBC" | |
| 47 PASS importedKey.algorithm.length is 128 | |
| 48 PASS importedKey.usages.join(',') is "encrypt" | |
| 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 true | |
| 54 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 55 PASS clonedKey.algorithm.length is 128 | |
| 56 PASS clonedKey.usages.join(',') is "encrypt" | |
| 57 Serialized key bytes: 3f004b010110031030112233445566778899aabbccddeeff | |
| 58 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
| 59 | |
| 60 PASS importedKey.extraProperty is "hi" | |
| 61 PASS importedKey.type is "secret" | |
| 62 PASS typeof importedKey.extractable is 'boolean' | |
| 63 PASS importedKey.extractable is true | |
| 64 PASS importedKey.algorithm.name is "AES-CBC" | |
| 65 PASS importedKey.algorithm.length is 256 | |
| 66 PASS importedKey.usages.join(',') is "encrypt" | |
| 67 PASS importedKey is not clonedKey | |
| 68 PASS clonedKey.extraProperty is undefined. | |
| 69 PASS clonedKey.type is "secret" | |
| 70 PASS typeof clonedKey.extractable is 'boolean' | |
| 71 PASS clonedKey.extractable is true | |
| 72 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 73 PASS clonedKey.algorithm.length is 256 | |
| 74 PASS clonedKey.usages.join(',') is "encrypt" | |
| 75 Serialized key bytes: 3f004b010120032000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 76 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
| 77 | |
| 78 PASS importedKey.extraProperty is "hi" | |
| 79 PASS importedKey.type is "secret" | |
| 80 PASS typeof importedKey.extractable is 'boolean' | |
| 81 PASS importedKey.extractable is true | |
| 82 PASS importedKey.algorithm.name is "AES-CBC" | |
| 83 PASS importedKey.algorithm.length is 128 | |
| 84 PASS importedKey.usages.join(',') is "decrypt,wrapKey" | |
| 85 PASS importedKey is not clonedKey | |
| 86 PASS clonedKey.extraProperty is undefined. | |
| 87 PASS clonedKey.type is "secret" | |
| 88 PASS typeof clonedKey.extractable is 'boolean' | |
| 89 PASS clonedKey.extractable is true | |
| 90 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 91 PASS clonedKey.algorithm.length is 128 | |
| 92 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" | |
| 93 Serialized key bytes: 3f004b010110451030112233445566778899aabbccddeeff | |
| 94 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
| 95 | |
| 96 PASS importedKey.extraProperty is "hi" | |
| 97 PASS importedKey.type is "secret" | |
| 98 PASS typeof importedKey.extractable is 'boolean' | |
| 99 PASS importedKey.extractable is true | |
| 100 PASS importedKey.algorithm.name is "AES-CBC" | |
| 101 PASS importedKey.algorithm.length is 256 | |
| 102 PASS importedKey.usages.join(',') is "decrypt,wrapKey" | |
| 103 PASS importedKey is not clonedKey | |
| 104 PASS clonedKey.extraProperty is undefined. | |
| 105 PASS clonedKey.type is "secret" | |
| 106 PASS typeof clonedKey.extractable is 'boolean' | |
| 107 PASS clonedKey.extractable is true | |
| 108 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 109 PASS clonedKey.algorithm.length is 256 | |
| 110 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" | |
| 111 Serialized key bytes: 3f004b010120452000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 112 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
| 113 | |
| 114 PASS importedKey.extraProperty is "hi" | |
| 115 PASS importedKey.type is "secret" | |
| 116 PASS typeof importedKey.extractable is 'boolean' | |
| 117 PASS importedKey.extractable is true | |
| 118 PASS importedKey.algorithm.name is "AES-CBC" | |
| 119 PASS importedKey.algorithm.length is 128 | |
| 120 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 121 PASS importedKey is not clonedKey | |
| 122 PASS clonedKey.extraProperty is undefined. | |
| 123 PASS clonedKey.type is "secret" | |
| 124 PASS typeof clonedKey.extractable is 'boolean' | |
| 125 PASS clonedKey.extractable is true | |
| 126 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 127 PASS clonedKey.algorithm.length is 128 | |
| 128 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 129 Serialized key bytes: 3f004b010110c3011030112233445566778899aabbccddeeff00 | |
| 130 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
| 131 | |
| 132 PASS importedKey.extraProperty is "hi" | |
| 133 PASS importedKey.type is "secret" | |
| 134 PASS typeof importedKey.extractable is 'boolean' | |
| 135 PASS importedKey.extractable is true | |
| 136 PASS importedKey.algorithm.name is "AES-CBC" | |
| 137 PASS importedKey.algorithm.length is 256 | |
| 138 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 139 PASS importedKey is not clonedKey | |
| 140 PASS clonedKey.extraProperty is undefined. | |
| 141 PASS clonedKey.type is "secret" | |
| 142 PASS typeof clonedKey.extractable is 'boolean' | |
| 143 PASS clonedKey.extractable is true | |
| 144 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 145 PASS clonedKey.algorithm.length is 256 | |
| 146 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 147 Serialized key bytes: 3f004b010120c3012000112233445546778899aabbccddeeff00010203
0405060708090a0b0c0d0e0f00 | |
| 148 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
| 149 | |
| 150 PASS importedKey.extraProperty is "hi" | |
| 151 PASS importedKey.type is "secret" | |
| 152 PASS typeof importedKey.extractable is 'boolean' | |
| 153 PASS importedKey.extractable is false | |
| 154 PASS importedKey.algorithm.name is "AES-CBC" | |
| 155 PASS importedKey.algorithm.length is 128 | |
| 156 PASS importedKey.usages.join(',') is "" | |
| 157 PASS importedKey is not clonedKey | |
| 158 PASS clonedKey.extraProperty is undefined. | |
| 159 PASS clonedKey.type is "secret" | |
| 160 PASS typeof clonedKey.extractable is 'boolean' | |
| 161 PASS clonedKey.extractable is false | |
| 162 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 163 PASS clonedKey.algorithm.length is 128 | |
| 164 PASS clonedKey.usages.join(',') is "" | |
| 165 Serialized key bytes: 3f004b010110001030112233445566778899aabbccddeeff | |
| 166 | |
| 167 PASS importedKey.extraProperty is "hi" | |
| 168 PASS importedKey.type is "secret" | |
| 169 PASS typeof importedKey.extractable is 'boolean' | |
| 170 PASS importedKey.extractable is false | |
| 171 PASS importedKey.algorithm.name is "AES-CBC" | |
| 172 PASS importedKey.algorithm.length is 256 | |
| 173 PASS importedKey.usages.join(',') is "" | |
| 174 PASS importedKey is not clonedKey | |
| 175 PASS clonedKey.extraProperty is undefined. | |
| 176 PASS clonedKey.type is "secret" | |
| 177 PASS typeof clonedKey.extractable is 'boolean' | |
| 178 PASS clonedKey.extractable is false | |
| 179 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 180 PASS clonedKey.algorithm.length is 256 | |
| 181 PASS clonedKey.usages.join(',') is "" | |
| 182 Serialized key bytes: 3f004b010120002000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 183 | |
| 184 PASS importedKey.extraProperty is "hi" | |
| 185 PASS importedKey.type is "secret" | |
| 186 PASS typeof importedKey.extractable is 'boolean' | |
| 187 PASS importedKey.extractable is false | |
| 188 PASS importedKey.algorithm.name is "AES-CBC" | |
| 189 PASS importedKey.algorithm.length is 128 | |
| 190 PASS importedKey.usages.join(',') is "encrypt" | |
| 191 PASS importedKey is not clonedKey | |
| 192 PASS clonedKey.extraProperty is undefined. | |
| 193 PASS clonedKey.type is "secret" | |
| 194 PASS typeof clonedKey.extractable is 'boolean' | |
| 195 PASS clonedKey.extractable is false | |
| 196 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 197 PASS clonedKey.algorithm.length is 128 | |
| 198 PASS clonedKey.usages.join(',') is "encrypt" | |
| 199 Serialized key bytes: 3f004b010110021030112233445566778899aabbccddeeff | |
| 200 | |
| 201 PASS importedKey.extraProperty is "hi" | |
| 202 PASS importedKey.type is "secret" | |
| 203 PASS typeof importedKey.extractable is 'boolean' | |
| 204 PASS importedKey.extractable is false | |
| 205 PASS importedKey.algorithm.name is "AES-CBC" | |
| 206 PASS importedKey.algorithm.length is 256 | |
| 207 PASS importedKey.usages.join(',') is "encrypt" | |
| 208 PASS importedKey is not clonedKey | |
| 209 PASS clonedKey.extraProperty is undefined. | |
| 210 PASS clonedKey.type is "secret" | |
| 211 PASS typeof clonedKey.extractable is 'boolean' | |
| 212 PASS clonedKey.extractable is false | |
| 213 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 214 PASS clonedKey.algorithm.length is 256 | |
| 215 PASS clonedKey.usages.join(',') is "encrypt" | |
| 216 Serialized key bytes: 3f004b010120022000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 217 | |
| 218 PASS importedKey.extraProperty is "hi" | |
| 219 PASS importedKey.type is "secret" | |
| 220 PASS typeof importedKey.extractable is 'boolean' | |
| 221 PASS importedKey.extractable is false | |
| 222 PASS importedKey.algorithm.name is "AES-CBC" | |
| 223 PASS importedKey.algorithm.length is 128 | |
| 224 PASS importedKey.usages.join(',') is "decrypt,wrapKey" | |
| 225 PASS importedKey is not clonedKey | |
| 226 PASS clonedKey.extraProperty is undefined. | |
| 227 PASS clonedKey.type is "secret" | |
| 228 PASS typeof clonedKey.extractable is 'boolean' | |
| 229 PASS clonedKey.extractable is false | |
| 230 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 231 PASS clonedKey.algorithm.length is 128 | |
| 232 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" | |
| 233 Serialized key bytes: 3f004b010110441030112233445566778899aabbccddeeff | |
| 234 | |
| 235 PASS importedKey.extraProperty is "hi" | |
| 236 PASS importedKey.type is "secret" | |
| 237 PASS typeof importedKey.extractable is 'boolean' | |
| 238 PASS importedKey.extractable is false | |
| 239 PASS importedKey.algorithm.name is "AES-CBC" | |
| 240 PASS importedKey.algorithm.length is 256 | |
| 241 PASS importedKey.usages.join(',') is "decrypt,wrapKey" | |
| 242 PASS importedKey is not clonedKey | |
| 243 PASS clonedKey.extraProperty is undefined. | |
| 244 PASS clonedKey.type is "secret" | |
| 245 PASS typeof clonedKey.extractable is 'boolean' | |
| 246 PASS clonedKey.extractable is false | |
| 247 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 248 PASS clonedKey.algorithm.length is 256 | |
| 249 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" | |
| 250 Serialized key bytes: 3f004b010120442000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 251 | |
| 252 PASS importedKey.extraProperty is "hi" | |
| 253 PASS importedKey.type is "secret" | |
| 254 PASS typeof importedKey.extractable is 'boolean' | |
| 255 PASS importedKey.extractable is false | |
| 256 PASS importedKey.algorithm.name is "AES-CBC" | |
| 257 PASS importedKey.algorithm.length is 128 | |
| 258 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 259 PASS importedKey is not clonedKey | |
| 260 PASS clonedKey.extraProperty is undefined. | |
| 261 PASS clonedKey.type is "secret" | |
| 262 PASS typeof clonedKey.extractable is 'boolean' | |
| 263 PASS clonedKey.extractable is false | |
| 264 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 265 PASS clonedKey.algorithm.length is 128 | |
| 266 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 267 Serialized key bytes: 3f004b010110c2011030112233445566778899aabbccddeeff00 | |
| 268 | |
| 269 PASS importedKey.extraProperty is "hi" | |
| 270 PASS importedKey.type is "secret" | |
| 271 PASS typeof importedKey.extractable is 'boolean' | |
| 272 PASS importedKey.extractable is false | |
| 273 PASS importedKey.algorithm.name is "AES-CBC" | |
| 274 PASS importedKey.algorithm.length is 256 | |
| 275 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 276 PASS importedKey is not clonedKey | |
| 277 PASS clonedKey.extraProperty is undefined. | |
| 278 PASS clonedKey.type is "secret" | |
| 279 PASS typeof clonedKey.extractable is 'boolean' | |
| 280 PASS clonedKey.extractable is false | |
| 281 PASS clonedKey.algorithm.name is "AES-CBC" | |
| 282 PASS clonedKey.algorithm.length is 256 | |
| 283 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 284 Serialized key bytes: 3f004b010120c2012000112233445546778899aabbccddeeff00010203
0405060708090a0b0c0d0e0f00 | |
| 285 | |
| 286 PASS importedKey.extraProperty is "hi" | |
| 287 PASS importedKey.type is "secret" | |
| 288 PASS typeof importedKey.extractable is 'boolean' | |
| 289 PASS importedKey.extractable is true | |
| 290 PASS importedKey.algorithm.name is "AES-GCM" | |
| 291 PASS importedKey.algorithm.length is 128 | |
| 292 PASS importedKey.usages.join(',') is "" | |
| 293 PASS importedKey is not clonedKey | |
| 294 PASS clonedKey.extraProperty is undefined. | |
| 295 PASS clonedKey.type is "secret" | |
| 296 PASS typeof clonedKey.extractable is 'boolean' | |
| 297 PASS clonedKey.extractable is true | |
| 298 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 299 PASS clonedKey.algorithm.length is 128 | |
| 300 PASS clonedKey.usages.join(',') is "" | |
| 301 Serialized key bytes: 3f004b010910011030112233445566778899aabbccddeeff | |
| 302 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
| 303 | |
| 304 PASS importedKey.extraProperty is "hi" | |
| 305 PASS importedKey.type is "secret" | |
| 306 PASS typeof importedKey.extractable is 'boolean' | |
| 307 PASS importedKey.extractable is true | |
| 308 PASS importedKey.algorithm.name is "AES-GCM" | |
| 309 PASS importedKey.algorithm.length is 256 | |
| 310 PASS importedKey.usages.join(',') is "" | |
| 311 PASS importedKey is not clonedKey | |
| 312 PASS clonedKey.extraProperty is undefined. | |
| 313 PASS clonedKey.type is "secret" | |
| 314 PASS typeof clonedKey.extractable is 'boolean' | |
| 315 PASS clonedKey.extractable is true | |
| 316 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 317 PASS clonedKey.algorithm.length is 256 | |
| 318 PASS clonedKey.usages.join(',') is "" | |
| 319 Serialized key bytes: 3f004b010920012000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 320 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
| 321 | |
| 322 PASS importedKey.extraProperty is "hi" | |
| 323 PASS importedKey.type is "secret" | |
| 324 PASS typeof importedKey.extractable is 'boolean' | |
| 325 PASS importedKey.extractable is true | |
| 326 PASS importedKey.algorithm.name is "AES-GCM" | |
| 327 PASS importedKey.algorithm.length is 128 | |
| 328 PASS importedKey.usages.join(',') is "encrypt" | |
| 329 PASS importedKey is not clonedKey | |
| 330 PASS clonedKey.extraProperty is undefined. | |
| 331 PASS clonedKey.type is "secret" | |
| 332 PASS typeof clonedKey.extractable is 'boolean' | |
| 333 PASS clonedKey.extractable is true | |
| 334 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 335 PASS clonedKey.algorithm.length is 128 | |
| 336 PASS clonedKey.usages.join(',') is "encrypt" | |
| 337 Serialized key bytes: 3f004b010910031030112233445566778899aabbccddeeff | |
| 338 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
| 339 | |
| 340 PASS importedKey.extraProperty is "hi" | |
| 341 PASS importedKey.type is "secret" | |
| 342 PASS typeof importedKey.extractable is 'boolean' | |
| 343 PASS importedKey.extractable is true | |
| 344 PASS importedKey.algorithm.name is "AES-GCM" | |
| 345 PASS importedKey.algorithm.length is 256 | |
| 346 PASS importedKey.usages.join(',') is "encrypt" | |
| 347 PASS importedKey is not clonedKey | |
| 348 PASS clonedKey.extraProperty is undefined. | |
| 349 PASS clonedKey.type is "secret" | |
| 350 PASS typeof clonedKey.extractable is 'boolean' | |
| 351 PASS clonedKey.extractable is true | |
| 352 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 353 PASS clonedKey.algorithm.length is 256 | |
| 354 PASS clonedKey.usages.join(',') is "encrypt" | |
| 355 Serialized key bytes: 3f004b010920032000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 356 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
| 357 | |
| 358 PASS importedKey.extraProperty is "hi" | |
| 359 PASS importedKey.type is "secret" | |
| 360 PASS typeof importedKey.extractable is 'boolean' | |
| 361 PASS importedKey.extractable is true | |
| 362 PASS importedKey.algorithm.name is "AES-GCM" | |
| 363 PASS importedKey.algorithm.length is 128 | |
| 364 PASS importedKey.usages.join(',') is "decrypt,wrapKey" | |
| 365 PASS importedKey is not clonedKey | |
| 366 PASS clonedKey.extraProperty is undefined. | |
| 367 PASS clonedKey.type is "secret" | |
| 368 PASS typeof clonedKey.extractable is 'boolean' | |
| 369 PASS clonedKey.extractable is true | |
| 370 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 371 PASS clonedKey.algorithm.length is 128 | |
| 372 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" | |
| 373 Serialized key bytes: 3f004b010910451030112233445566778899aabbccddeeff | |
| 374 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
| 375 | |
| 376 PASS importedKey.extraProperty is "hi" | |
| 377 PASS importedKey.type is "secret" | |
| 378 PASS typeof importedKey.extractable is 'boolean' | |
| 379 PASS importedKey.extractable is true | |
| 380 PASS importedKey.algorithm.name is "AES-GCM" | |
| 381 PASS importedKey.algorithm.length is 256 | |
| 382 PASS importedKey.usages.join(',') is "decrypt,wrapKey" | |
| 383 PASS importedKey is not clonedKey | |
| 384 PASS clonedKey.extraProperty is undefined. | |
| 385 PASS clonedKey.type is "secret" | |
| 386 PASS typeof clonedKey.extractable is 'boolean' | |
| 387 PASS clonedKey.extractable is true | |
| 388 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 389 PASS clonedKey.algorithm.length is 256 | |
| 390 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" | |
| 391 Serialized key bytes: 3f004b010920452000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 392 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
| 393 | |
| 394 PASS importedKey.extraProperty is "hi" | |
| 395 PASS importedKey.type is "secret" | |
| 396 PASS typeof importedKey.extractable is 'boolean' | |
| 397 PASS importedKey.extractable is true | |
| 398 PASS importedKey.algorithm.name is "AES-GCM" | |
| 399 PASS importedKey.algorithm.length is 128 | |
| 400 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 401 PASS importedKey is not clonedKey | |
| 402 PASS clonedKey.extraProperty is undefined. | |
| 403 PASS clonedKey.type is "secret" | |
| 404 PASS typeof clonedKey.extractable is 'boolean' | |
| 405 PASS clonedKey.extractable is true | |
| 406 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 407 PASS clonedKey.algorithm.length is 128 | |
| 408 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 409 Serialized key bytes: 3f004b010910c3011030112233445566778899aabbccddeeff00 | |
| 410 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
| 411 | |
| 412 PASS importedKey.extraProperty is "hi" | |
| 413 PASS importedKey.type is "secret" | |
| 414 PASS typeof importedKey.extractable is 'boolean' | |
| 415 PASS importedKey.extractable is true | |
| 416 PASS importedKey.algorithm.name is "AES-GCM" | |
| 417 PASS importedKey.algorithm.length is 256 | |
| 418 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 419 PASS importedKey is not clonedKey | |
| 420 PASS clonedKey.extraProperty is undefined. | |
| 421 PASS clonedKey.type is "secret" | |
| 422 PASS typeof clonedKey.extractable is 'boolean' | |
| 423 PASS clonedKey.extractable is true | |
| 424 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 425 PASS clonedKey.algorithm.length is 256 | |
| 426 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 427 Serialized key bytes: 3f004b010920c3012000112233445546778899aabbccddeeff00010203
0405060708090a0b0c0d0e0f00 | |
| 428 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
| 429 | |
| 430 PASS importedKey.extraProperty is "hi" | |
| 431 PASS importedKey.type is "secret" | |
| 432 PASS typeof importedKey.extractable is 'boolean' | |
| 433 PASS importedKey.extractable is false | |
| 434 PASS importedKey.algorithm.name is "AES-GCM" | |
| 435 PASS importedKey.algorithm.length is 128 | |
| 436 PASS importedKey.usages.join(',') is "" | |
| 437 PASS importedKey is not clonedKey | |
| 438 PASS clonedKey.extraProperty is undefined. | |
| 439 PASS clonedKey.type is "secret" | |
| 440 PASS typeof clonedKey.extractable is 'boolean' | |
| 441 PASS clonedKey.extractable is false | |
| 442 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 443 PASS clonedKey.algorithm.length is 128 | |
| 444 PASS clonedKey.usages.join(',') is "" | |
| 445 Serialized key bytes: 3f004b010910001030112233445566778899aabbccddeeff | |
| 446 | |
| 447 PASS importedKey.extraProperty is "hi" | |
| 448 PASS importedKey.type is "secret" | |
| 449 PASS typeof importedKey.extractable is 'boolean' | |
| 450 PASS importedKey.extractable is false | |
| 451 PASS importedKey.algorithm.name is "AES-GCM" | |
| 452 PASS importedKey.algorithm.length is 256 | |
| 453 PASS importedKey.usages.join(',') is "" | |
| 454 PASS importedKey is not clonedKey | |
| 455 PASS clonedKey.extraProperty is undefined. | |
| 456 PASS clonedKey.type is "secret" | |
| 457 PASS typeof clonedKey.extractable is 'boolean' | |
| 458 PASS clonedKey.extractable is false | |
| 459 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 460 PASS clonedKey.algorithm.length is 256 | |
| 461 PASS clonedKey.usages.join(',') is "" | |
| 462 Serialized key bytes: 3f004b010920002000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 463 | |
| 464 PASS importedKey.extraProperty is "hi" | |
| 465 PASS importedKey.type is "secret" | |
| 466 PASS typeof importedKey.extractable is 'boolean' | |
| 467 PASS importedKey.extractable is false | |
| 468 PASS importedKey.algorithm.name is "AES-GCM" | |
| 469 PASS importedKey.algorithm.length is 128 | |
| 470 PASS importedKey.usages.join(',') is "encrypt" | |
| 471 PASS importedKey is not clonedKey | |
| 472 PASS clonedKey.extraProperty is undefined. | |
| 473 PASS clonedKey.type is "secret" | |
| 474 PASS typeof clonedKey.extractable is 'boolean' | |
| 475 PASS clonedKey.extractable is false | |
| 476 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 477 PASS clonedKey.algorithm.length is 128 | |
| 478 PASS clonedKey.usages.join(',') is "encrypt" | |
| 479 Serialized key bytes: 3f004b010910021030112233445566778899aabbccddeeff | |
| 480 | |
| 481 PASS importedKey.extraProperty is "hi" | |
| 482 PASS importedKey.type is "secret" | |
| 483 PASS typeof importedKey.extractable is 'boolean' | |
| 484 PASS importedKey.extractable is false | |
| 485 PASS importedKey.algorithm.name is "AES-GCM" | |
| 486 PASS importedKey.algorithm.length is 256 | |
| 487 PASS importedKey.usages.join(',') is "encrypt" | |
| 488 PASS importedKey is not clonedKey | |
| 489 PASS clonedKey.extraProperty is undefined. | |
| 490 PASS clonedKey.type is "secret" | |
| 491 PASS typeof clonedKey.extractable is 'boolean' | |
| 492 PASS clonedKey.extractable is false | |
| 493 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 494 PASS clonedKey.algorithm.length is 256 | |
| 495 PASS clonedKey.usages.join(',') is "encrypt" | |
| 496 Serialized key bytes: 3f004b010920022000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 497 | |
| 498 PASS importedKey.extraProperty is "hi" | |
| 499 PASS importedKey.type is "secret" | |
| 500 PASS typeof importedKey.extractable is 'boolean' | |
| 501 PASS importedKey.extractable is false | |
| 502 PASS importedKey.algorithm.name is "AES-GCM" | |
| 503 PASS importedKey.algorithm.length is 128 | |
| 504 PASS importedKey.usages.join(',') is "decrypt,wrapKey" | |
| 505 PASS importedKey is not clonedKey | |
| 506 PASS clonedKey.extraProperty is undefined. | |
| 507 PASS clonedKey.type is "secret" | |
| 508 PASS typeof clonedKey.extractable is 'boolean' | |
| 509 PASS clonedKey.extractable is false | |
| 510 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 511 PASS clonedKey.algorithm.length is 128 | |
| 512 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" | |
| 513 Serialized key bytes: 3f004b010910441030112233445566778899aabbccddeeff | |
| 514 | |
| 515 PASS importedKey.extraProperty is "hi" | |
| 516 PASS importedKey.type is "secret" | |
| 517 PASS typeof importedKey.extractable is 'boolean' | |
| 518 PASS importedKey.extractable is false | |
| 519 PASS importedKey.algorithm.name is "AES-GCM" | |
| 520 PASS importedKey.algorithm.length is 256 | |
| 521 PASS importedKey.usages.join(',') is "decrypt,wrapKey" | |
| 522 PASS importedKey is not clonedKey | |
| 523 PASS clonedKey.extraProperty is undefined. | |
| 524 PASS clonedKey.type is "secret" | |
| 525 PASS typeof clonedKey.extractable is 'boolean' | |
| 526 PASS clonedKey.extractable is false | |
| 527 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 528 PASS clonedKey.algorithm.length is 256 | |
| 529 PASS clonedKey.usages.join(',') is "decrypt,wrapKey" | |
| 530 Serialized key bytes: 3f004b010920442000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 531 | |
| 532 PASS importedKey.extraProperty is "hi" | |
| 533 PASS importedKey.type is "secret" | |
| 534 PASS typeof importedKey.extractable is 'boolean' | |
| 535 PASS importedKey.extractable is false | |
| 536 PASS importedKey.algorithm.name is "AES-GCM" | |
| 537 PASS importedKey.algorithm.length is 128 | |
| 538 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 539 PASS importedKey is not clonedKey | |
| 540 PASS clonedKey.extraProperty is undefined. | |
| 541 PASS clonedKey.type is "secret" | |
| 542 PASS typeof clonedKey.extractable is 'boolean' | |
| 543 PASS clonedKey.extractable is false | |
| 544 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 545 PASS clonedKey.algorithm.length is 128 | |
| 546 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 547 Serialized key bytes: 3f004b010910c2011030112233445566778899aabbccddeeff00 | |
| 548 | |
| 549 PASS importedKey.extraProperty is "hi" | |
| 550 PASS importedKey.type is "secret" | |
| 551 PASS typeof importedKey.extractable is 'boolean' | |
| 552 PASS importedKey.extractable is false | |
| 553 PASS importedKey.algorithm.name is "AES-GCM" | |
| 554 PASS importedKey.algorithm.length is 256 | |
| 555 PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 556 PASS importedKey is not clonedKey | |
| 557 PASS clonedKey.extraProperty is undefined. | |
| 558 PASS clonedKey.type is "secret" | |
| 559 PASS typeof clonedKey.extractable is 'boolean' | |
| 560 PASS clonedKey.extractable is false | |
| 561 PASS clonedKey.algorithm.name is "AES-GCM" | |
| 562 PASS clonedKey.algorithm.length is 256 | |
| 563 PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" | |
| 564 Serialized key bytes: 3f004b010920c2012000112233445546778899aabbccddeeff00010203
0405060708090a0b0c0d0e0f00 | |
| 565 | |
| 566 PASS successfullyParsed is true | |
| 567 | |
| 568 TEST COMPLETE | |
| 569 | |
| OLD | NEW |