Bug 1500292 p2 - Update web-platform-tests expected data. a=testonly r=jcj

Depends on D9285

Differential Revision: https://phabricator.services.mozilla.com/D9525

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Edouard Oger 2018-10-23 15:44:49 +00:00
Родитель 2aa62daff7
Коммит 564994962f
12 изменённых файлов: 0 добавлений и 20946 удалений

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -7,978 +7,6 @@
[failures_AES-CBC.https.any.html]
[Bad algorithm: generateKey(AES, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad usages: generateKey({length: 128, name: AES-CBC}, true, [sign\])]
expected: FAIL

Просмотреть файл

@ -1,976 +1,4 @@
[failures_AES-CTR.https.any.html]
[Bad algorithm: generateKey(AES, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad usages: generateKey({length: 128, name: AES-CTR}, true, [sign\])]
expected: FAIL

Просмотреть файл

@ -7,978 +7,6 @@
[failures_AES-GCM.https.any.html]
[Bad algorithm: generateKey(AES, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad usages: generateKey({length: 128, name: AES-GCM}, true, [sign\])]
expected: FAIL

Просмотреть файл

@ -1,976 +1,4 @@
[failures_AES-KW.https.any.html]
[Bad algorithm: generateKey(AES, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad usages: generateKey({length: 128, name: AES-KW}, true, [encrypt\])]
expected: FAIL

Просмотреть файл

@ -7,978 +7,6 @@
[failures_ECDH.https.any.html]
[Bad algorithm: generateKey(AES, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [encrypt\])]
expected: FAIL

Просмотреть файл

@ -1,976 +1,4 @@
[failures_ECDSA.https.any.html]
[Bad algorithm: generateKey(AES, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad usages: generateKey({name: ECDSA, namedCurve: P-256}, true, [encrypt\])]
expected: FAIL

Просмотреть файл

@ -1,976 +1,4 @@
[failures_HMAC.https.any.html]
[Bad algorithm: generateKey(AES, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad usages: generateKey({hash: SHA-1, length: 160, name: HMAC}, true, [encrypt\])]
expected: FAIL

Просмотреть файл

@ -1,976 +1,4 @@
[failures_RSA-OAEP.https.any.html]
[Bad algorithm: generateKey(AES, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-OAEP, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL

Просмотреть файл

@ -1,976 +1,4 @@
[failures_RSA-PSS.https.any.html]
[Bad algorithm: generateKey(AES, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [encrypt\])]
expected: FAIL

Просмотреть файл

@ -1,976 +1,4 @@
[failures_RSASSA-PKCS1-v1_5.https.any.html]
[Bad algorithm: generateKey(AES, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits\])]
expected: FAIL
[Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSASSA-PKCS1-v1_5, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [encrypt\])]
expected: FAIL

Просмотреть файл

@ -1,10 +1,4 @@
[RTCPeerConnection-generateCertificate.html]
[generateCertificate() with invalid string algorithm should reject with NotSupportedError]
expected: FAIL
[generateCertificate() with invalid algorithm dict should reject with NotSupportedError]
expected: FAIL
[generateCertificate() with 0 expires parameter should generate expired cert]
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1383137