blob: 1a5986f1fd73433babb01818784421c858430e7a [file] [log] [blame]
Test importing a JWK ECDH public key with P-521
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Importing a key...
PASS publicKey.toString() is '[object CryptoKey]'
PASS publicKey.type is 'public'
PASS publicKey.extractable is true
PASS publicKey.algorithm.name is 'ECDH'
PASS publicKey.algorithm.namedCurve is 'P-521'
PASS publicKey.usages is [ ]
PASS successfullyParsed is true
TEST COMPLETE