blob: 2994aa7212d699ad558acd13b48526cbb99dba09 [file] [log] [blame]
Test importing a P-521 PKCS8 ECDH key
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 'private'
PASS publicKey.extractable is true
PASS publicKey.algorithm.name is 'ECDH'
PASS publicKey.algorithm.namedCurve is 'P-521'
PASS publicKey.usages is [ 'deriveBits', 'deriveKey' ]
PASS successfullyParsed is true
TEST COMPLETE