webcrypto.dart
webcrypto.dart copied to clipboard
Add tests for Import Key Exception
- [x] Created optional param for importKeyException.
- [x] Added new Test Data with the importKeyException param.
- [x] Test passes if: 1. Import Key Exception is not null in Test Data. 2. And curve for the key in Test Data is not the same as the curve specified during import.
- [x] Test for deriveBits and subsequent tests should not proceed if the importKeyException is found.