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