blob: 9cb2caa0579919bbd357423f195aa561a04374a9 [file] [log] [blame]
Test exporting a 192 bits AES-CBC 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 'A192CBC'
PASS key.ext is true
PASS Base64URL.parse(key.k).byteLength is 24
PASS successfullyParsed is true
TEST COMPLETE