| 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 error is: SyntaxError: RsaHashedKeyGenParams: modulusLength: Outside of numeric
range | 6 error is: SyntaxError: RsaHashedKeyGenParams: modulusLength: Outside of numeric
range |
| 7 error is: SyntaxError: RsaHashedKeyGenParams: modulusLength: Is not a number | 7 error is: SyntaxError: RsaHashedKeyGenParams: modulusLength: Is not a number |
| 8 error is: SyntaxError: RsaHashedKeyGenParams: modulusLength: Missing required pr
operty | 8 error is: SyntaxError: RsaHashedKeyGenParams: modulusLength: Missing required pr
operty |
| 9 error is: SyntaxError: RsaHashedKeyGenParams: publicExponent: Missing or not a U
int8Array | 9 error is: SyntaxError: RsaHashedKeyGenParams: publicExponent: Missing or not a U
int8Array |
| 10 error is: SyntaxError: RsaHashedKeyGenParams: publicExponent: Missing or not a U
int8Array | 10 error is: SyntaxError: RsaHashedKeyGenParams: publicExponent: Missing or not a U
int8Array |
| 11 error is: SyntaxError: RsaHashedKeyGenParams: publicExponent: Missing or not a U
int8Array | 11 error is: SyntaxError: RsaHashedKeyGenParams: publicExponent: Missing or not a U
int8Array |
| 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 |
| 12 error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognize
d name | 14 error is: NotSupportedError: RsaHashedKeyGenParams: hash: Algorithm: Unrecognize
d name |
| 13 error is: SyntaxError: RsaHashedKeyGenParams: hash: Missing or not a dictionary | 15 error is: SyntaxError: RsaHashedKeyGenParams: hash: Missing or not a dictionary |
| 14 PASS successfullyParsed is true | 16 PASS successfullyParsed is true |
| 15 | 17 |
| 16 TEST COMPLETE | 18 TEST COMPLETE |
| 17 | 19 |
| OLD | NEW |