blob: e30f07579ec13a98d863823fdbc853dff7d71a6c [file] [log] [blame]
Test exporting a 256 bits AES-KW key with JWK format
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Generating a key...
Exporting a key...
PASS key.kty is 'oct'
PASS key.key_ops is ['unwrapKey', 'wrapKey']
PASS key.alg is 'A256KW'
PASS key.ext is true
PASS Base64URL.parse(key.k).byteLength is 32
PASS successfullyParsed is true
TEST COMPLETE