blob: 96c68d8a5d46c9039b0f8a8467f008aeb084a694 [file] [log] [blame]
Test exporting a SHA-256 HMAC 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 ['sign', 'verify']
PASS key.alg is 'HS256'
PASS key.ext is true
PASS Base64URL.parse(key.k).byteLength is 64
PASS successfullyParsed is true
TEST COMPLETE