| OLD | NEW |
| 1 Tests structured cloning of HMAC keys | 1 Tests structured cloning of HMAC keys |
| 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 importedKey.extraProperty is "hi" | 6 PASS importedKey.extraProperty is "hi" |
| 7 PASS importedKey.type is "secret" | 7 PASS importedKey.type is "secret" |
| 8 PASS typeof importedKey.extractable is 'boolean' | 8 PASS typeof importedKey.extractable is 'boolean' |
| 9 PASS importedKey.extractable is true | 9 PASS importedKey.extractable is true |
| 10 PASS importedKey.algorithm.name is "HMAC" | 10 PASS importedKey.algorithm.name is "HMAC" |
| 11 PASS importedKey.algorithm.length is 128 | 11 PASS importedKey.algorithm.length is 128 |
| 12 PASS importedKey.algorithm.hash.name is "SHA-1" | 12 PASS importedKey.algorithm.hash.name is "SHA-1" |
| 13 PASS importedKey.usages.join(',') is "" | |
| 14 PASS importedKey is not clonedKey | |
| 15 PASS clonedKey.extraProperty is undefined. | |
| 16 PASS clonedKey.type is "secret" | |
| 17 PASS typeof clonedKey.extractable is 'boolean' | |
| 18 PASS clonedKey.extractable is true | |
| 19 PASS clonedKey.algorithm.name is "HMAC" | |
| 20 PASS clonedKey.algorithm.length is 128 | |
| 21 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
| 22 PASS clonedKey.usages.join(',') is "" | |
| 23 Serialized key bytes: 3f004b021005011030112233445566778899aabbccddeeff | |
| 24 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
| 25 | |
| 26 PASS importedKey.extraProperty is "hi" | |
| 27 PASS importedKey.type is "secret" | |
| 28 PASS typeof importedKey.extractable is 'boolean' | |
| 29 PASS importedKey.extractable is true | |
| 30 PASS importedKey.algorithm.name is "HMAC" | |
| 31 PASS importedKey.algorithm.length is 256 | |
| 32 PASS importedKey.algorithm.hash.name is "SHA-1" | |
| 33 PASS importedKey.usages.join(',') is "" | |
| 34 PASS importedKey is not clonedKey | |
| 35 PASS clonedKey.extraProperty is undefined. | |
| 36 PASS clonedKey.type is "secret" | |
| 37 PASS typeof clonedKey.extractable is 'boolean' | |
| 38 PASS clonedKey.extractable is true | |
| 39 PASS clonedKey.algorithm.name is "HMAC" | |
| 40 PASS clonedKey.algorithm.length is 256 | |
| 41 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
| 42 PASS clonedKey.usages.join(',') is "" | |
| 43 Serialized key bytes: 3f004b022005012000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 44 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
| 45 | |
| 46 PASS importedKey.extraProperty is "hi" | |
| 47 PASS importedKey.type is "secret" | |
| 48 PASS typeof importedKey.extractable is 'boolean' | |
| 49 PASS importedKey.extractable is true | |
| 50 PASS importedKey.algorithm.name is "HMAC" | |
| 51 PASS importedKey.algorithm.length is 128 | |
| 52 PASS importedKey.algorithm.hash.name is "SHA-1" | |
| 53 PASS importedKey.usages.join(',') is "sign" | 13 PASS importedKey.usages.join(',') is "sign" |
| 54 PASS importedKey is not clonedKey | 14 PASS importedKey is not clonedKey |
| 55 PASS clonedKey.extraProperty is undefined. | 15 PASS clonedKey.extraProperty is undefined. |
| 56 PASS clonedKey.type is "secret" | 16 PASS clonedKey.type is "secret" |
| 57 PASS typeof clonedKey.extractable is 'boolean' | 17 PASS typeof clonedKey.extractable is 'boolean' |
| 58 PASS clonedKey.extractable is true | 18 PASS clonedKey.extractable is true |
| 59 PASS clonedKey.algorithm.name is "HMAC" | 19 PASS clonedKey.algorithm.name is "HMAC" |
| 60 PASS clonedKey.algorithm.length is 128 | 20 PASS clonedKey.algorithm.length is 128 |
| 61 PASS clonedKey.algorithm.hash.name is "SHA-1" | 21 PASS clonedKey.algorithm.hash.name is "SHA-1" |
| 62 PASS clonedKey.usages.join(',') is "sign" | 22 PASS clonedKey.usages.join(',') is "sign" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 Serialized key bytes: 3f004b022005192000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | 123 Serialized key bytes: 3f004b022005192000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f |
| 164 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | 124 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was |
| 165 | 125 |
| 166 PASS importedKey.extraProperty is "hi" | 126 PASS importedKey.extraProperty is "hi" |
| 167 PASS importedKey.type is "secret" | 127 PASS importedKey.type is "secret" |
| 168 PASS typeof importedKey.extractable is 'boolean' | 128 PASS typeof importedKey.extractable is 'boolean' |
| 169 PASS importedKey.extractable is false | 129 PASS importedKey.extractable is false |
| 170 PASS importedKey.algorithm.name is "HMAC" | 130 PASS importedKey.algorithm.name is "HMAC" |
| 171 PASS importedKey.algorithm.length is 128 | 131 PASS importedKey.algorithm.length is 128 |
| 172 PASS importedKey.algorithm.hash.name is "SHA-1" | 132 PASS importedKey.algorithm.hash.name is "SHA-1" |
| 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 "HMAC" | |
| 180 PASS clonedKey.algorithm.length is 128 | |
| 181 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
| 182 PASS clonedKey.usages.join(',') is "" | |
| 183 Serialized key bytes: 3f004b021005001030112233445566778899aabbccddeeff | |
| 184 | |
| 185 PASS importedKey.extraProperty is "hi" | |
| 186 PASS importedKey.type is "secret" | |
| 187 PASS typeof importedKey.extractable is 'boolean' | |
| 188 PASS importedKey.extractable is false | |
| 189 PASS importedKey.algorithm.name is "HMAC" | |
| 190 PASS importedKey.algorithm.length is 256 | |
| 191 PASS importedKey.algorithm.hash.name is "SHA-1" | |
| 192 PASS importedKey.usages.join(',') is "" | |
| 193 PASS importedKey is not clonedKey | |
| 194 PASS clonedKey.extraProperty is undefined. | |
| 195 PASS clonedKey.type is "secret" | |
| 196 PASS typeof clonedKey.extractable is 'boolean' | |
| 197 PASS clonedKey.extractable is false | |
| 198 PASS clonedKey.algorithm.name is "HMAC" | |
| 199 PASS clonedKey.algorithm.length is 256 | |
| 200 PASS clonedKey.algorithm.hash.name is "SHA-1" | |
| 201 PASS clonedKey.usages.join(',') is "" | |
| 202 Serialized key bytes: 3f004b022005002000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 203 | |
| 204 PASS importedKey.extraProperty is "hi" | |
| 205 PASS importedKey.type is "secret" | |
| 206 PASS typeof importedKey.extractable is 'boolean' | |
| 207 PASS importedKey.extractable is false | |
| 208 PASS importedKey.algorithm.name is "HMAC" | |
| 209 PASS importedKey.algorithm.length is 128 | |
| 210 PASS importedKey.algorithm.hash.name is "SHA-1" | |
| 211 PASS importedKey.usages.join(',') is "sign" | 133 PASS importedKey.usages.join(',') is "sign" |
| 212 PASS importedKey is not clonedKey | 134 PASS importedKey is not clonedKey |
| 213 PASS clonedKey.extraProperty is undefined. | 135 PASS clonedKey.extraProperty is undefined. |
| 214 PASS clonedKey.type is "secret" | 136 PASS clonedKey.type is "secret" |
| 215 PASS typeof clonedKey.extractable is 'boolean' | 137 PASS typeof clonedKey.extractable is 'boolean' |
| 216 PASS clonedKey.extractable is false | 138 PASS clonedKey.extractable is false |
| 217 PASS clonedKey.algorithm.name is "HMAC" | 139 PASS clonedKey.algorithm.name is "HMAC" |
| 218 PASS clonedKey.algorithm.length is 128 | 140 PASS clonedKey.algorithm.length is 128 |
| 219 PASS clonedKey.algorithm.hash.name is "SHA-1" | 141 PASS clonedKey.algorithm.hash.name is "SHA-1" |
| 220 PASS clonedKey.usages.join(',') is "sign" | 142 PASS clonedKey.usages.join(',') is "sign" |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 PASS clonedKey.usages.join(',') is "sign,verify" | 237 PASS clonedKey.usages.join(',') is "sign,verify" |
| 316 Serialized key bytes: 3f004b022005182000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | 238 Serialized key bytes: 3f004b022005182000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f |
| 317 | 239 |
| 318 PASS importedKey.extraProperty is "hi" | 240 PASS importedKey.extraProperty is "hi" |
| 319 PASS importedKey.type is "secret" | 241 PASS importedKey.type is "secret" |
| 320 PASS typeof importedKey.extractable is 'boolean' | 242 PASS typeof importedKey.extractable is 'boolean' |
| 321 PASS importedKey.extractable is true | 243 PASS importedKey.extractable is true |
| 322 PASS importedKey.algorithm.name is "HMAC" | 244 PASS importedKey.algorithm.name is "HMAC" |
| 323 PASS importedKey.algorithm.length is 128 | 245 PASS importedKey.algorithm.length is 128 |
| 324 PASS importedKey.algorithm.hash.name is "SHA-256" | 246 PASS importedKey.algorithm.hash.name is "SHA-256" |
| 325 PASS importedKey.usages.join(',') is "" | |
| 326 PASS importedKey is not clonedKey | |
| 327 PASS clonedKey.extraProperty is undefined. | |
| 328 PASS clonedKey.type is "secret" | |
| 329 PASS typeof clonedKey.extractable is 'boolean' | |
| 330 PASS clonedKey.extractable is true | |
| 331 PASS clonedKey.algorithm.name is "HMAC" | |
| 332 PASS clonedKey.algorithm.length is 128 | |
| 333 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
| 334 PASS clonedKey.usages.join(',') is "" | |
| 335 Serialized key bytes: 3f004b021006011030112233445566778899aabbccddeeff | |
| 336 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
| 337 | |
| 338 PASS importedKey.extraProperty is "hi" | |
| 339 PASS importedKey.type is "secret" | |
| 340 PASS typeof importedKey.extractable is 'boolean' | |
| 341 PASS importedKey.extractable is true | |
| 342 PASS importedKey.algorithm.name is "HMAC" | |
| 343 PASS importedKey.algorithm.length is 256 | |
| 344 PASS importedKey.algorithm.hash.name is "SHA-256" | |
| 345 PASS importedKey.usages.join(',') is "" | |
| 346 PASS importedKey is not clonedKey | |
| 347 PASS clonedKey.extraProperty is undefined. | |
| 348 PASS clonedKey.type is "secret" | |
| 349 PASS typeof clonedKey.extractable is 'boolean' | |
| 350 PASS clonedKey.extractable is true | |
| 351 PASS clonedKey.algorithm.name is "HMAC" | |
| 352 PASS clonedKey.algorithm.length is 256 | |
| 353 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
| 354 PASS clonedKey.usages.join(',') is "" | |
| 355 Serialized key bytes: 3f004b022006012000112233445546778899aabbccddeeff0001020304
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 "HMAC" | |
| 363 PASS importedKey.algorithm.length is 128 | |
| 364 PASS importedKey.algorithm.hash.name is "SHA-256" | |
| 365 PASS importedKey.usages.join(',') is "sign" | 247 PASS importedKey.usages.join(',') is "sign" |
| 366 PASS importedKey is not clonedKey | 248 PASS importedKey is not clonedKey |
| 367 PASS clonedKey.extraProperty is undefined. | 249 PASS clonedKey.extraProperty is undefined. |
| 368 PASS clonedKey.type is "secret" | 250 PASS clonedKey.type is "secret" |
| 369 PASS typeof clonedKey.extractable is 'boolean' | 251 PASS typeof clonedKey.extractable is 'boolean' |
| 370 PASS clonedKey.extractable is true | 252 PASS clonedKey.extractable is true |
| 371 PASS clonedKey.algorithm.name is "HMAC" | 253 PASS clonedKey.algorithm.name is "HMAC" |
| 372 PASS clonedKey.algorithm.length is 128 | 254 PASS clonedKey.algorithm.length is 128 |
| 373 PASS clonedKey.algorithm.hash.name is "SHA-256" | 255 PASS clonedKey.algorithm.hash.name is "SHA-256" |
| 374 PASS clonedKey.usages.join(',') is "sign" | 256 PASS clonedKey.usages.join(',') is "sign" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 Serialized key bytes: 3f004b022006192000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | 357 Serialized key bytes: 3f004b022006192000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f |
| 476 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | 358 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was |
| 477 | 359 |
| 478 PASS importedKey.extraProperty is "hi" | 360 PASS importedKey.extraProperty is "hi" |
| 479 PASS importedKey.type is "secret" | 361 PASS importedKey.type is "secret" |
| 480 PASS typeof importedKey.extractable is 'boolean' | 362 PASS typeof importedKey.extractable is 'boolean' |
| 481 PASS importedKey.extractable is false | 363 PASS importedKey.extractable is false |
| 482 PASS importedKey.algorithm.name is "HMAC" | 364 PASS importedKey.algorithm.name is "HMAC" |
| 483 PASS importedKey.algorithm.length is 128 | 365 PASS importedKey.algorithm.length is 128 |
| 484 PASS importedKey.algorithm.hash.name is "SHA-256" | 366 PASS importedKey.algorithm.hash.name is "SHA-256" |
| 485 PASS importedKey.usages.join(',') is "" | |
| 486 PASS importedKey is not clonedKey | |
| 487 PASS clonedKey.extraProperty is undefined. | |
| 488 PASS clonedKey.type is "secret" | |
| 489 PASS typeof clonedKey.extractable is 'boolean' | |
| 490 PASS clonedKey.extractable is false | |
| 491 PASS clonedKey.algorithm.name is "HMAC" | |
| 492 PASS clonedKey.algorithm.length is 128 | |
| 493 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
| 494 PASS clonedKey.usages.join(',') is "" | |
| 495 Serialized key bytes: 3f004b021006001030112233445566778899aabbccddeeff | |
| 496 | |
| 497 PASS importedKey.extraProperty is "hi" | |
| 498 PASS importedKey.type is "secret" | |
| 499 PASS typeof importedKey.extractable is 'boolean' | |
| 500 PASS importedKey.extractable is false | |
| 501 PASS importedKey.algorithm.name is "HMAC" | |
| 502 PASS importedKey.algorithm.length is 256 | |
| 503 PASS importedKey.algorithm.hash.name is "SHA-256" | |
| 504 PASS importedKey.usages.join(',') is "" | |
| 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 "HMAC" | |
| 511 PASS clonedKey.algorithm.length is 256 | |
| 512 PASS clonedKey.algorithm.hash.name is "SHA-256" | |
| 513 PASS clonedKey.usages.join(',') is "" | |
| 514 Serialized key bytes: 3f004b022006002000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 515 | |
| 516 PASS importedKey.extraProperty is "hi" | |
| 517 PASS importedKey.type is "secret" | |
| 518 PASS typeof importedKey.extractable is 'boolean' | |
| 519 PASS importedKey.extractable is false | |
| 520 PASS importedKey.algorithm.name is "HMAC" | |
| 521 PASS importedKey.algorithm.length is 128 | |
| 522 PASS importedKey.algorithm.hash.name is "SHA-256" | |
| 523 PASS importedKey.usages.join(',') is "sign" | 367 PASS importedKey.usages.join(',') is "sign" |
| 524 PASS importedKey is not clonedKey | 368 PASS importedKey is not clonedKey |
| 525 PASS clonedKey.extraProperty is undefined. | 369 PASS clonedKey.extraProperty is undefined. |
| 526 PASS clonedKey.type is "secret" | 370 PASS clonedKey.type is "secret" |
| 527 PASS typeof clonedKey.extractable is 'boolean' | 371 PASS typeof clonedKey.extractable is 'boolean' |
| 528 PASS clonedKey.extractable is false | 372 PASS clonedKey.extractable is false |
| 529 PASS clonedKey.algorithm.name is "HMAC" | 373 PASS clonedKey.algorithm.name is "HMAC" |
| 530 PASS clonedKey.algorithm.length is 128 | 374 PASS clonedKey.algorithm.length is 128 |
| 531 PASS clonedKey.algorithm.hash.name is "SHA-256" | 375 PASS clonedKey.algorithm.hash.name is "SHA-256" |
| 532 PASS clonedKey.usages.join(',') is "sign" | 376 PASS clonedKey.usages.join(',') is "sign" |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 PASS clonedKey.usages.join(',') is "sign,verify" | 471 PASS clonedKey.usages.join(',') is "sign,verify" |
| 628 Serialized key bytes: 3f004b022006182000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | 472 Serialized key bytes: 3f004b022006182000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f |
| 629 | 473 |
| 630 PASS importedKey.extraProperty is "hi" | 474 PASS importedKey.extraProperty is "hi" |
| 631 PASS importedKey.type is "secret" | 475 PASS importedKey.type is "secret" |
| 632 PASS typeof importedKey.extractable is 'boolean' | 476 PASS typeof importedKey.extractable is 'boolean' |
| 633 PASS importedKey.extractable is true | 477 PASS importedKey.extractable is true |
| 634 PASS importedKey.algorithm.name is "HMAC" | 478 PASS importedKey.algorithm.name is "HMAC" |
| 635 PASS importedKey.algorithm.length is 128 | 479 PASS importedKey.algorithm.length is 128 |
| 636 PASS importedKey.algorithm.hash.name is "SHA-512" | 480 PASS importedKey.algorithm.hash.name is "SHA-512" |
| 637 PASS importedKey.usages.join(',') is "" | |
| 638 PASS importedKey is not clonedKey | |
| 639 PASS clonedKey.extraProperty is undefined. | |
| 640 PASS clonedKey.type is "secret" | |
| 641 PASS typeof clonedKey.extractable is 'boolean' | |
| 642 PASS clonedKey.extractable is true | |
| 643 PASS clonedKey.algorithm.name is "HMAC" | |
| 644 PASS clonedKey.algorithm.length is 128 | |
| 645 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
| 646 PASS clonedKey.usages.join(',') is "" | |
| 647 Serialized key bytes: 3f004b021008011030112233445566778899aabbccddeeff | |
| 648 PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and
was | |
| 649 | |
| 650 PASS importedKey.extraProperty is "hi" | |
| 651 PASS importedKey.type is "secret" | |
| 652 PASS typeof importedKey.extractable is 'boolean' | |
| 653 PASS importedKey.extractable is true | |
| 654 PASS importedKey.algorithm.name is "HMAC" | |
| 655 PASS importedKey.algorithm.length is 256 | |
| 656 PASS importedKey.algorithm.hash.name is "SHA-512" | |
| 657 PASS importedKey.usages.join(',') is "" | |
| 658 PASS importedKey is not clonedKey | |
| 659 PASS clonedKey.extraProperty is undefined. | |
| 660 PASS clonedKey.type is "secret" | |
| 661 PASS typeof clonedKey.extractable is 'boolean' | |
| 662 PASS clonedKey.extractable is true | |
| 663 PASS clonedKey.algorithm.name is "HMAC" | |
| 664 PASS clonedKey.algorithm.length is 256 | |
| 665 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
| 666 PASS clonedKey.usages.join(',') is "" | |
| 667 Serialized key bytes: 3f004b022008012000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 668 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | |
| 669 | |
| 670 PASS importedKey.extraProperty is "hi" | |
| 671 PASS importedKey.type is "secret" | |
| 672 PASS typeof importedKey.extractable is 'boolean' | |
| 673 PASS importedKey.extractable is true | |
| 674 PASS importedKey.algorithm.name is "HMAC" | |
| 675 PASS importedKey.algorithm.length is 128 | |
| 676 PASS importedKey.algorithm.hash.name is "SHA-512" | |
| 677 PASS importedKey.usages.join(',') is "sign" | 481 PASS importedKey.usages.join(',') is "sign" |
| 678 PASS importedKey is not clonedKey | 482 PASS importedKey is not clonedKey |
| 679 PASS clonedKey.extraProperty is undefined. | 483 PASS clonedKey.extraProperty is undefined. |
| 680 PASS clonedKey.type is "secret" | 484 PASS clonedKey.type is "secret" |
| 681 PASS typeof clonedKey.extractable is 'boolean' | 485 PASS typeof clonedKey.extractable is 'boolean' |
| 682 PASS clonedKey.extractable is true | 486 PASS clonedKey.extractable is true |
| 683 PASS clonedKey.algorithm.name is "HMAC" | 487 PASS clonedKey.algorithm.name is "HMAC" |
| 684 PASS clonedKey.algorithm.length is 128 | 488 PASS clonedKey.algorithm.length is 128 |
| 685 PASS clonedKey.algorithm.hash.name is "SHA-512" | 489 PASS clonedKey.algorithm.hash.name is "SHA-512" |
| 686 PASS clonedKey.usages.join(',') is "sign" | 490 PASS clonedKey.usages.join(',') is "sign" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 Serialized key bytes: 3f004b022008192000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | 591 Serialized key bytes: 3f004b022008192000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f |
| 788 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was | 592 PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102
030405060708090a0b0c0d0e0f] and was |
| 789 | 593 |
| 790 PASS importedKey.extraProperty is "hi" | 594 PASS importedKey.extraProperty is "hi" |
| 791 PASS importedKey.type is "secret" | 595 PASS importedKey.type is "secret" |
| 792 PASS typeof importedKey.extractable is 'boolean' | 596 PASS typeof importedKey.extractable is 'boolean' |
| 793 PASS importedKey.extractable is false | 597 PASS importedKey.extractable is false |
| 794 PASS importedKey.algorithm.name is "HMAC" | 598 PASS importedKey.algorithm.name is "HMAC" |
| 795 PASS importedKey.algorithm.length is 128 | 599 PASS importedKey.algorithm.length is 128 |
| 796 PASS importedKey.algorithm.hash.name is "SHA-512" | 600 PASS importedKey.algorithm.hash.name is "SHA-512" |
| 797 PASS importedKey.usages.join(',') is "" | |
| 798 PASS importedKey is not clonedKey | |
| 799 PASS clonedKey.extraProperty is undefined. | |
| 800 PASS clonedKey.type is "secret" | |
| 801 PASS typeof clonedKey.extractable is 'boolean' | |
| 802 PASS clonedKey.extractable is false | |
| 803 PASS clonedKey.algorithm.name is "HMAC" | |
| 804 PASS clonedKey.algorithm.length is 128 | |
| 805 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
| 806 PASS clonedKey.usages.join(',') is "" | |
| 807 Serialized key bytes: 3f004b021008001030112233445566778899aabbccddeeff | |
| 808 | |
| 809 PASS importedKey.extraProperty is "hi" | |
| 810 PASS importedKey.type is "secret" | |
| 811 PASS typeof importedKey.extractable is 'boolean' | |
| 812 PASS importedKey.extractable is false | |
| 813 PASS importedKey.algorithm.name is "HMAC" | |
| 814 PASS importedKey.algorithm.length is 256 | |
| 815 PASS importedKey.algorithm.hash.name is "SHA-512" | |
| 816 PASS importedKey.usages.join(',') is "" | |
| 817 PASS importedKey is not clonedKey | |
| 818 PASS clonedKey.extraProperty is undefined. | |
| 819 PASS clonedKey.type is "secret" | |
| 820 PASS typeof clonedKey.extractable is 'boolean' | |
| 821 PASS clonedKey.extractable is false | |
| 822 PASS clonedKey.algorithm.name is "HMAC" | |
| 823 PASS clonedKey.algorithm.length is 256 | |
| 824 PASS clonedKey.algorithm.hash.name is "SHA-512" | |
| 825 PASS clonedKey.usages.join(',') is "" | |
| 826 Serialized key bytes: 3f004b022008002000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | |
| 827 | |
| 828 PASS importedKey.extraProperty is "hi" | |
| 829 PASS importedKey.type is "secret" | |
| 830 PASS typeof importedKey.extractable is 'boolean' | |
| 831 PASS importedKey.extractable is false | |
| 832 PASS importedKey.algorithm.name is "HMAC" | |
| 833 PASS importedKey.algorithm.length is 128 | |
| 834 PASS importedKey.algorithm.hash.name is "SHA-512" | |
| 835 PASS importedKey.usages.join(',') is "sign" | 601 PASS importedKey.usages.join(',') is "sign" |
| 836 PASS importedKey is not clonedKey | 602 PASS importedKey is not clonedKey |
| 837 PASS clonedKey.extraProperty is undefined. | 603 PASS clonedKey.extraProperty is undefined. |
| 838 PASS clonedKey.type is "secret" | 604 PASS clonedKey.type is "secret" |
| 839 PASS typeof clonedKey.extractable is 'boolean' | 605 PASS typeof clonedKey.extractable is 'boolean' |
| 840 PASS clonedKey.extractable is false | 606 PASS clonedKey.extractable is false |
| 841 PASS clonedKey.algorithm.name is "HMAC" | 607 PASS clonedKey.algorithm.name is "HMAC" |
| 842 PASS clonedKey.algorithm.length is 128 | 608 PASS clonedKey.algorithm.length is 128 |
| 843 PASS clonedKey.algorithm.hash.name is "SHA-512" | 609 PASS clonedKey.algorithm.hash.name is "SHA-512" |
| 844 PASS clonedKey.usages.join(',') is "sign" | 610 PASS clonedKey.usages.join(',') is "sign" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 936 PASS clonedKey.algorithm.name is "HMAC" | 702 PASS clonedKey.algorithm.name is "HMAC" |
| 937 PASS clonedKey.algorithm.length is 256 | 703 PASS clonedKey.algorithm.length is 256 |
| 938 PASS clonedKey.algorithm.hash.name is "SHA-512" | 704 PASS clonedKey.algorithm.hash.name is "SHA-512" |
| 939 PASS clonedKey.usages.join(',') is "sign,verify" | 705 PASS clonedKey.usages.join(',') is "sign,verify" |
| 940 Serialized key bytes: 3f004b022008182000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f | 706 Serialized key bytes: 3f004b022008182000112233445546778899aabbccddeeff0001020304
05060708090a0b0c0d0e0f |
| 941 | 707 |
| 942 PASS successfullyParsed is true | 708 PASS successfullyParsed is true |
| 943 | 709 |
| 944 TEST COMPLETE | 710 TEST COMPLETE |
| 945 | 711 |
| OLD | NEW |