OLD | NEW |
| (Empty) |
1 CONSOLE ERROR: Invalid keyFormat argument | |
2 CONSOLE ERROR: Invalid keyFormat argument | |
3 CONSOLE ERROR: Invalid keyFormat argument | |
4 CONSOLE ERROR: key is not extractable | |
5 Tests cypto.subtle.exportKey. | |
6 | |
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
8 | |
9 | |
10 PASS crypto.subtle.exportKey('raw', null) threw exception TypeError: Failed to e
xecute 'exportKey' on 'SubtleCrypto': Invalid key argument. | |
11 PASS crypto.subtle.exportKey('raw', 3) threw exception TypeError: Failed to exec
ute 'exportKey' on 'SubtleCrypto': Invalid key argument. | |
12 PASS keys.aesCbcJustDecrypt.extractable is false | |
13 PASS: 'crypto.subtle.exportKey(3, keys.aesCbcJustDecrypt)' rejected with null | |
14 PASS: 'crypto.subtle.exportKey(null, keys.aesCbcJustDecrypt)' rejected with null | |
15 PASS: 'crypto.subtle.exportKey('invalid', keys.aesCbcJustDecrypt)' rejected with
null | |
16 PASS: 'crypto.subtle.exportKey('raw', keys.aesCbcJustDecrypt)' rejected with nul
l | |
17 PASS: Key bytes should be [3136206279746573206f66206b657921] and was | |
18 PASS: Key bytes should be [30819f300d06092a864886f70d010101050003818d00308189028
18100a56e4a0e701017589a5187dc7ea841d156f2ec0e36ad52a44dfeb1e61f7ad991d8c51056ffe
db162b4c0f283a12a88a394dff526ab7291cbb307ceabfce0b1dfd5cd9508096d5b2b8b6df5d671e
f6377c0921cb23c270a70e2598e6ff89d19f105acc2d3f0cb35f29280e1386b6f64c4ef22e1e1f20
d0ce8cffb2249bd9a21370203010001] and was | |
19 PASS successfullyParsed is true | |
20 | |
21 TEST COMPLETE | |
22 | |
OLD | NEW |