OLD | NEW |
1 Tests generateKey() with bad AES-KW parameters. | 1 Tests generateKey() with bad AES-KW parameters. |
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 |
| 7 generateKey() without length... |
6 error is: TypeError: AesKeyGenParams: length: Missing required property | 8 error is: TypeError: AesKeyGenParams: length: Missing required property |
| 9 |
| 10 generateKey() with a length of 70000... |
7 error is: TypeError: AesKeyGenParams: length: Outside of numeric range | 11 error is: TypeError: AesKeyGenParams: length: Outside of numeric range |
| 12 |
| 13 generateKey() with a length of -3... |
8 error is: TypeError: AesKeyGenParams: length: Outside of numeric range | 14 error is: TypeError: AesKeyGenParams: length: Outside of numeric range |
| 15 |
| 16 generateKey() with length that is minus Infinity... |
9 error is: TypeError: AesKeyGenParams: length: Outside of numeric range | 17 error is: TypeError: AesKeyGenParams: length: Outside of numeric range |
10 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
11 | 19 |
12 TEST COMPLETE | 20 TEST COMPLETE |
13 | 21 |
OLD | NEW |