| OLD | NEW |
| (Empty) |
| 1 Tests generateKey() with bad RSASSA-PKCS1-v1_5 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: The modulus length must be a multiple of 8 bits and
>= 256 and <= 16384 | |
| 13 error is: DataError: The "publicExponent" must be either 3 or 65537 | |
| 14 error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognize
d name | |
| 15 error is: TypeError: RsaHashedKeyGenParams: hash: Missing or not an AlgorithmIde
ntifier | |
| 16 PASS successfullyParsed is true | |
| 17 | |
| 18 TEST COMPLETE | |
| 19 | |
| OLD | NEW |