OLD | NEW |
| (Empty) |
1 Tests generateKey() with bad AES-KW parameters. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 | |
7 generateKey() without length... | |
8 error is: TypeError: AesKeyGenParams: length: Missing required property | |
9 | |
10 generateKey() with a length of 70000... | |
11 error is: TypeError: AesKeyGenParams: length: Outside of numeric range | |
12 | |
13 generateKey() with a length of -3... | |
14 error is: TypeError: AesKeyGenParams: length: Outside of numeric range | |
15 | |
16 generateKey() with length that is minus Infinity... | |
17 error is: TypeError: AesKeyGenParams: length: Outside of numeric range | |
18 PASS successfullyParsed is true | |
19 | |
20 TEST COMPLETE | |
21 | |
OLD | NEW |