blob: a02a5f2056078ab7f4c024d47a1785a987735196 [file] [log] [blame]
Test an unsupported AES key length.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Importing a raw AES key from string literal...
PASS key.type is 'secret'
PASS key.extractable is true
PASS key.algorithm.name is 'AES-CBC'
PASS key.algorithm.length is 176
PASS key.usages is ['decrypt', 'encrypt']
Using the key to encrypt plaintext...
Failed, as expected. Note that the spec doesn't appear to clearly define which step should fail.
PASS successfullyParsed is true
TEST COMPLETE