OLD | NEW |
(Empty) | |
| 1 Tests bad inputs to ECDH's deriveBits() |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 error is: SyntaxError: Algorithm: name: Missing or not a string |
| 7 error is: SyntaxError: EcdhKeyDeriveParams: public: Missing required property |
| 8 error is: SyntaxError: Algorithm: Not an object |
| 9 error is: TypeError: Failed to execute 'deriveBits' on 'SubtleCrypto': parameter
1 ('algorithm') is not an object. |
| 10 error is: SyntaxError: EcdhKeyDeriveParams: public: Must be a CryptoKey |
| 11 error is: SyntaxError: EcdhKeyDeriveParams: public: Must be a CryptoKey |
| 12 error is: SyntaxError: EcdhKeyDeriveParams: public: Must be a CryptoKey |
| 13 error is: InvalidAccessError: The public parameter for ECDH key derivation is fo
r a different named curve |
| 14 error is: InvalidAccessError: The public parameter for ECDH key derivation is no
t a public EC key |
| 15 error is: InvalidAccessError: The public parameter for ECDH key derivation must
be for ECDH |
| 16 PASS successfullyParsed is true |
| 17 |
| 18 TEST COMPLETE |
| 19 |
OLD | NEW |