blob: 4323a2f3f4af6232795f42b0d4abc836da03c2fe [file] [log] [blame]
Test importing a JWK ECDH private key with P-256
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Importing a key...
PASS privateKey.toString() is '[object CryptoKey]'
PASS privateKey.type is 'private'
PASS privateKey.extractable is false
PASS privateKey.algorithm.name is 'ECDH'
PASS privateKey.algorithm.namedCurve is 'P-256'
PASS privateKey.usages is ['deriveBits', 'deriveKey']
PASS successfullyParsed is true
TEST COMPLETE