OLD | NEW |
1 Tests generateKey() with bad ECDSA parameters. | 1 Tests generateKey() with bad ECDSA 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 |
| 7 generateKey() without namedCurve... |
6 error is: TypeError: EcKeyGenParams: namedCurve: Missing or not a string | 8 error is: TypeError: EcKeyGenParams: namedCurve: Missing or not a string |
| 9 |
| 10 generateKey() with namedCurve that is an integer... |
7 error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve | 11 error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve |
| 12 |
| 13 generateKey() with lower case namedCurve... |
8 error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve | 14 error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve |
| 15 |
| 16 generateKey() with namedCurve that contains some trailing characters... |
9 error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve | 17 error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve |
10 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
11 | 19 |
12 TEST COMPLETE | 20 TEST COMPLETE |
13 | 21 |
OLD | NEW |