| OLD | NEW |
| (Empty) |
| 1 Tests generateKey() with bad RSA-OAEP parameters. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Outside of numeric ra
nge | |
| 7 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Is not a number | |
| 8 error is: TypeError: RsaHashedKeyGenParams: modulusLength: Missing required prop
erty | |
| 9 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin
t8Array | |
| 10 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin
t8Array | |
| 11 error is: TypeError: RsaHashedKeyGenParams: publicExponent: Missing or not a Uin
t8Array | |
| 12 error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognize
d name | |
| 13 PASS successfullyParsed is true | |
| 14 | |
| 15 TEST COMPLETE | |
| 16 | |
| OLD | NEW |