blob: 75a484959d19fb1167ae153109c22e6f3bd9ffec [file] [log] [blame]
Test exporting a 128 bits AES-GCM 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 ['decrypt', 'encrypt', 'unwrapKey', 'wrapKey']
PASS key.alg is 'A128GCM'
PASS key.ext is true
PASS Base64URL.parse(key.k).byteLength is 16
PASS successfullyParsed is true
TEST COMPLETE