| OLD | NEW |
| 1 Tests generateKey() with bad RSASSA-PKCS1-v1_5 parameters. | 1 Tests generateKey() with bad RSASSA-PKCS1-v1_5 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 generateKey() with invalid hash name... | 31 generateKey() with invalid hash name... |
| 32 error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognize
d name | 32 error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognize
d name |
| 33 | 33 |
| 34 generateKey() without hash name... | 34 generateKey() without hash name... |
| 35 error is: TypeError: RsaHashedKeyGenParams: hash: Missing or not an AlgorithmIde
ntifier | 35 error is: TypeError: RsaHashedKeyGenParams: hash: Missing or not an AlgorithmIde
ntifier |
| 36 PASS successfullyParsed is true | 36 PASS successfullyParsed is true |
| 37 | 37 |
| 38 TEST COMPLETE | 38 TEST COMPLETE |
| 39 | 39 |
| OLD | NEW |