17 lines
432 B
Plaintext
17 lines
432 B
Plaintext
Test importing a JWK ECDSA public 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 'public'
|
|
PASS publicKey.extractable is true
|
|
PASS publicKey.algorithm.name is 'ECDSA'
|
|
PASS publicKey.algorithm.namedCurve is 'P-256'
|
|
PASS publicKey.usages is ['verify']
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|