OLD | NEW |
| (Empty) |
1 Tests generateKey() with bad ECDSA parameters. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 | |
7 generateKey() without namedCurve... | |
8 error is: TypeError: EcKeyGenParams: namedCurve: Missing or not a string | |
9 | |
10 generateKey() with namedCurve that is an integer... | |
11 error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve | |
12 | |
13 generateKey() with namedCurve 'p-256' that contains lower case character 'p'... | |
14 error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve | |
15 | |
16 generateKey() with namedCurve 'P-256aa' that contains trailing characters 'aa'..
. | |
17 error is: NotSupportedError: EcKeyGenParams: Unrecognized namedCurve | |
18 PASS successfullyParsed is true | |
19 | |
20 TEST COMPLETE | |
21 | |
OLD | NEW |