OLD | NEW |
1 Tests calls to wrapKey() with bad inputs. | 1 Tests calls to wrapKey() with bad inputs. |
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: TypeError: Invalid key argument | 6 error is: TypeError: Invalid key argument |
7 error is: TypeError: Invalid wrappingKey argument | 7 error is: TypeError: Invalid wrappingKey argument |
8 error is: TypeError: Algorithm: Not an object | 8 error is: TypeError: Algorithm: Not an object |
9 error is: TypeError: Invalid keyFormat argument | 9 error is: TypeError: Invalid keyFormat argument |
10 error is: NotSupportedError: SHA-1: Unsupported operation: wrapKey | 10 error is: NotSupportedError: SHA-1: Unsupported operation: wrapKey |
11 error is: InvalidAccessError: key.algorithm does not match that of operation | 11 error is: InvalidAccessError: key.algorithm does not match that of operation |
12 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
13 | 13 |
14 TEST COMPLETE | 14 TEST COMPLETE |
15 | 15 |
OLD | NEW |