blob: 5dd688a0548e4e2d4c526beb26141cd17ef6acbc [file] [log] [blame]
Test unwrapping a JWK oct key with RSA-OAEP using an imported key
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS unwrappedKey.kty is 'oct'
PASS Base64URL.parse(unwrappedKey.k) is rawKey
PASS unwrappedKey.alg is 'A128CBC'
PASS unwrappedKey.key_ops is ['decrypt', 'encrypt']
PASS unwrappedKey.ext is true
PASS successfullyParsed is true
TEST COMPLETE