| OLD | NEW |
| 1 Tests generateKey() with bad RSA-OAEP parameters. | 1 Tests generateKey() with bad RSA-OAEP 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 | 6 |
| 7 generateKey() with a modulusLength -30... | 7 generateKey() with a modulusLength -30... |
| 8 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Outside of numeric ra
nge | 8 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Outside of numeric ra
nge |
| 9 | 9 |
| 10 generateKey() with modulusLength NaN... | 10 generateKey() with modulusLength NaN... |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 generateKey() with publicExponent that is null... | 22 generateKey() with publicExponent that is null... |
| 23 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin
t8Array | 23 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin
t8Array |
| 24 | 24 |
| 25 generateKey() with invalid hash name... | 25 generateKey() with invalid hash name... |
| 26 error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognize
d name | 26 error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognize
d name |
| 27 PASS successfullyParsed is true | 27 PASS successfullyParsed is true |
| 28 | 28 |
| 29 TEST COMPLETE | 29 TEST COMPLETE |
| 30 | 30 |
| OLD | NEW |