Changeset 232781 in webkit


Ignore:
Timestamp:
Jun 12, 2018 4:30:54 PM (6 years ago)
Author:
Ryan Haddad
Message:

Unreviewed, rebaseline RSA-PSS tests for High Sierra.

  • platform/mac/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any-expected.txt: Add missing whitespace.
  • platform/mac/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any.worker-expected.txt: Ditto.
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r232780 r232781  
     12018-06-12  Ryan Haddad  <ryanhaddad@apple.com>
     2
     3        Unreviewed, rebaseline RSA-PSS tests for High Sierra.
     4
     5        * platform/mac/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any-expected.txt: Add missing whitespace.
     6        * platform/mac/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any.worker-expected.txt: Ditto.
     7
    182018-06-12  Said Abou-Hallawa  <sabouhallawa@apple.com>
    29
  • trunk/LayoutTests/platform/mac/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any-expected.txt

    r232772 r232781  
    11
    2 PASS Bad algorithm: generateKey(AES, false, [decrypt])
    3 PASS Bad algorithm: generateKey(AES, true, [decrypt])
    4 PASS Bad algorithm: generateKey(AES, RED, [decrypt])
    5 PASS Bad algorithm: generateKey(AES, 7, [decrypt])
    6 PASS Bad algorithm: generateKey(AES, false, [sign, decrypt])
    7 PASS Bad algorithm: generateKey(AES, true, [sign, decrypt])
    8 PASS Bad algorithm: generateKey(AES, RED, [sign, decrypt])
    9 PASS Bad algorithm: generateKey(AES, 7, [sign, decrypt])
    10 PASS Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt])
    11 PASS Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt])
    12 PASS Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt])
    13 PASS Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt])
    14 PASS Bad algorithm: generateKey(AES, false, [deriveBits, decrypt])
    15 PASS Bad algorithm: generateKey(AES, true, [deriveBits, decrypt])
    16 PASS Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt])
    17 PASS Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt])
    18 PASS Bad algorithm: generateKey(AES, false, [sign])
    19 PASS Bad algorithm: generateKey(AES, true, [sign])
    20 PASS Bad algorithm: generateKey(AES, RED, [sign])
    21 PASS Bad algorithm: generateKey(AES, 7, [sign])
    22 PASS Bad algorithm: generateKey(AES, false, [deriveBits, sign])
    23 PASS Bad algorithm: generateKey(AES, true, [deriveBits, sign])
    24 PASS Bad algorithm: generateKey(AES, RED, [deriveBits, sign])
    25 PASS Bad algorithm: generateKey(AES, 7, [deriveBits, sign])
    26 PASS Bad algorithm: generateKey(AES, false, [deriveBits])
    27 PASS Bad algorithm: generateKey(AES, true, [deriveBits])
    28 PASS Bad algorithm: generateKey(AES, RED, [deriveBits])
    29 PASS Bad algorithm: generateKey(AES, 7, [deriveBits])
    30 PASS Bad algorithm: generateKey(AES, false, [])
    31 PASS Bad algorithm: generateKey(AES, true, [])
    32 PASS Bad algorithm: generateKey(AES, RED, [])
    33 PASS Bad algorithm: generateKey(AES, 7, [])
    34 PASS Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    35 PASS Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    36 PASS Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    37 PASS Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    38 PASS Bad algorithm: generateKey({name: AES}, false, [decrypt])
    39 PASS Bad algorithm: generateKey({name: AES}, true, [decrypt])
    40 PASS Bad algorithm: generateKey({name: AES}, RED, [decrypt])
    41 PASS Bad algorithm: generateKey({name: AES}, 7, [decrypt])
    42 PASS Bad algorithm: generateKey({name: AES}, false, [sign, decrypt])
    43 PASS Bad algorithm: generateKey({name: AES}, true, [sign, decrypt])
    44 PASS Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt])
    45 PASS Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt])
    46 PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt])
    47 PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt])
    48 PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt])
    49 PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt])
    50 PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt])
    51 PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt])
    52 PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt])
    53 PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt])
    54 PASS Bad algorithm: generateKey({name: AES}, false, [sign])
    55 PASS Bad algorithm: generateKey({name: AES}, true, [sign])
    56 PASS Bad algorithm: generateKey({name: AES}, RED, [sign])
    57 PASS Bad algorithm: generateKey({name: AES}, 7, [sign])
    58 PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign])
    59 PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign])
    60 PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign])
    61 PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign])
    62 PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits])
    63 PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits])
    64 PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits])
    65 PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits])
    66 PASS Bad algorithm: generateKey({name: AES}, false, [])
    67 PASS Bad algorithm: generateKey({name: AES}, true, [])
    68 PASS Bad algorithm: generateKey({name: AES}, RED, [])
    69 PASS Bad algorithm: generateKey({name: AES}, 7, [])
    70 PASS Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    71 PASS Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    72 PASS Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    73 PASS Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    74 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt])
    75 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt])
    76 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt])
    77 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt])
    78 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt])
    79 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt])
    80 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt])
    81 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt])
    82 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt])
    83 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt])
    84 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt])
    85 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt])
    86 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt])
    87 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt])
    88 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt])
    89 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt])
    90 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [sign])
    91 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [sign])
    92 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign])
    93 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign])
    94 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign])
    95 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign])
    96 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign])
    97 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign])
    98 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits])
    99 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits])
    100 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits])
    101 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits])
    102 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [])
    103 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [])
    104 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [])
    105 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [])
    106 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    107 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    108 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    109 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    110 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt])
    111 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt])
    112 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt])
    113 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt])
    114 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt])
    115 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt])
    116 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt])
    117 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt])
    118 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt])
    119 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt])
    120 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt])
    121 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt])
    122 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt])
    123 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt])
    124 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt])
    125 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt])
    126 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign])
    127 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign])
    128 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign])
    129 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign])
    130 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign])
    131 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign])
    132 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign])
    133 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign])
    134 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits])
    135 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits])
    136 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits])
    137 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits])
    138 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [])
    139 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [])
    140 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [])
    141 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [])
    142 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    143 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    144 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    145 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    146 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt])
    147 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt])
    148 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt])
    149 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt])
    150 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt])
    151 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt])
    152 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt])
    153 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt])
    154 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt])
    155 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt])
    156 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt])
    157 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt])
    158 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt])
    159 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt])
    160 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt])
    161 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt])
    162 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign])
    163 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign])
    164 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign])
    165 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign])
    166 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign])
    167 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign])
    168 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign])
    169 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign])
    170 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits])
    171 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits])
    172 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits])
    173 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits])
    174 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [])
    175 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [])
    176 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [])
    177 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [])
    178 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    179 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    180 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    181 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    182 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt])
    183 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt])
    184 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt])
    185 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt])
    186 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt])
    187 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt])
    188 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt])
    189 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt])
    190 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt])
    191 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt])
    192 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt])
    193 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt])
    194 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt])
    195 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt])
    196 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt])
    197 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt])
    198 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign])
    199 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign])
    200 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign])
    201 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign])
    202 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign])
    203 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign])
    204 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign])
    205 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign])
    206 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits])
    207 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits])
    208 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits])
    209 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits])
    210 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [])
    211 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [])
    212 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [])
    213 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [])
    214 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    215 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    216 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    217 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    218 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])
    219 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])
    220 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])
    221 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])
    222 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])
    223 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])
    224 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])
    225 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])
    226 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])
    227 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])
    228 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])
    229 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])
    230 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])
    231 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])
    232 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])
    233 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])
    234 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])
    235 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])
    236 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])
    237 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])
    238 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])
    239 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])
    240 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])
    241 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])
    242 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])
    243 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])
    244 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])
    245 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])
    246 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])
    247 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])
    248 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])
    249 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])
    250 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    251 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    252 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    253 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    254 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])
    255 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])
    256 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])
    257 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])
    258 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])
    259 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])
    260 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])
    261 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])
    262 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])
    263 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])
    264 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])
    265 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])
    266 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])
    267 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])
    268 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])
    269 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])
    270 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])
    271 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])
    272 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])
    273 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])
    274 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])
    275 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])
    276 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])
    277 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])
    278 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])
    279 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])
    280 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])
    281 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])
    282 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])
    283 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])
    284 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])
    285 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])
    286 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    287 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    288 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    289 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    290 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt])
    291 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt])
    292 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt])
    293 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt])
    294 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt])
    295 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt])
    296 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt])
    297 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt])
    298 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt])
    299 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt])
    300 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt])
    301 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt])
    302 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt])
    303 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt])
    304 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt])
    305 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt])
    306 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign])
    307 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign])
    308 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign])
    309 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign])
    310 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign])
    311 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign])
    312 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign])
    313 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign])
    314 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits])
    315 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits])
    316 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits])
    317 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits])
    318 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [])
    319 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [])
    320 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [])
    321 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [])
    322 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    323 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    324 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    325 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    326 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [encrypt])
    327 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, encrypt])
    328 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, encrypt])
    329 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, encrypt])
    330 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])
    331 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])
    332 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, decrypt])
    333 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, decrypt])
    334 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [wrapKey])
    335 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, wrapKey])
    336 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, wrapKey])
    337 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, wrapKey])
    338 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [unwrapKey])
    339 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, unwrapKey])
    340 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, unwrapKey])
    341 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, unwrapKey])
    342 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveKey])
    343 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveKey])
    344 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveKey])
    345 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveKey])
    346 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])
    347 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveBits])
    348 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveBits])
    349 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveBits])
    350 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [encrypt])
    351 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, encrypt])
    352 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, encrypt])
    353 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, encrypt])
    354 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])
    355 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])
    356 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, decrypt])
    357 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, decrypt])
    358 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [wrapKey])
    359 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, wrapKey])
    360 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, wrapKey])
    361 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, wrapKey])
    362 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [unwrapKey])
    363 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, unwrapKey])
    364 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, unwrapKey])
    365 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, unwrapKey])
    366 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveKey])
    367 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveKey])
    368 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveKey])
    369 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveKey])
    370 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])
    371 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveBits])
    372 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveBits])
    373 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveBits])
    374 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [sign])
    375 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [sign])
    376 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [verify, sign])
    377 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [verify, sign])
    378 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [])
    379 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [])
    380 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [sign, verify, sign, sign, verify])
    381 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [sign, verify, sign, sign, verify])
    382 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [sign])
    383 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [sign])
    384 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [verify, sign])
    385 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [verify, sign])
    386 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [])
    387 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [])
    388 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [sign, verify, sign, sign, verify])
    389 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [sign, verify, sign, sign, verify])
    390 PASS Empty usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])
    391 PASS Empty usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])
    392 PASS Empty usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])
    393 PASS Empty usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])
     2PASS Bad algorithm: generateKey(AES, false, [decrypt]) 
     3PASS Bad algorithm: generateKey(AES, true, [decrypt]) 
     4PASS Bad algorithm: generateKey(AES, RED, [decrypt]) 
     5PASS Bad algorithm: generateKey(AES, 7, [decrypt]) 
     6PASS Bad algorithm: generateKey(AES, false, [sign, decrypt]) 
     7PASS Bad algorithm: generateKey(AES, true, [sign, decrypt]) 
     8PASS Bad algorithm: generateKey(AES, RED, [sign, decrypt]) 
     9PASS Bad algorithm: generateKey(AES, 7, [sign, decrypt]) 
     10PASS Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt]) 
     11PASS Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt]) 
     12PASS Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt]) 
     13PASS Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt]) 
     14PASS Bad algorithm: generateKey(AES, false, [deriveBits, decrypt]) 
     15PASS Bad algorithm: generateKey(AES, true, [deriveBits, decrypt]) 
     16PASS Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt]) 
     17PASS Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt]) 
     18PASS Bad algorithm: generateKey(AES, false, [sign]) 
     19PASS Bad algorithm: generateKey(AES, true, [sign]) 
     20PASS Bad algorithm: generateKey(AES, RED, [sign]) 
     21PASS Bad algorithm: generateKey(AES, 7, [sign]) 
     22PASS Bad algorithm: generateKey(AES, false, [deriveBits, sign]) 
     23PASS Bad algorithm: generateKey(AES, true, [deriveBits, sign]) 
     24PASS Bad algorithm: generateKey(AES, RED, [deriveBits, sign]) 
     25PASS Bad algorithm: generateKey(AES, 7, [deriveBits, sign]) 
     26PASS Bad algorithm: generateKey(AES, false, [deriveBits]) 
     27PASS Bad algorithm: generateKey(AES, true, [deriveBits]) 
     28PASS Bad algorithm: generateKey(AES, RED, [deriveBits]) 
     29PASS Bad algorithm: generateKey(AES, 7, [deriveBits]) 
     30PASS Bad algorithm: generateKey(AES, false, []) 
     31PASS Bad algorithm: generateKey(AES, true, []) 
     32PASS Bad algorithm: generateKey(AES, RED, []) 
     33PASS Bad algorithm: generateKey(AES, 7, []) 
     34PASS Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     35PASS Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     36PASS Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     37PASS Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     38PASS Bad algorithm: generateKey({name: AES}, false, [decrypt]) 
     39PASS Bad algorithm: generateKey({name: AES}, true, [decrypt]) 
     40PASS Bad algorithm: generateKey({name: AES}, RED, [decrypt]) 
     41PASS Bad algorithm: generateKey({name: AES}, 7, [decrypt]) 
     42PASS Bad algorithm: generateKey({name: AES}, false, [sign, decrypt]) 
     43PASS Bad algorithm: generateKey({name: AES}, true, [sign, decrypt]) 
     44PASS Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt]) 
     45PASS Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt]) 
     46PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt]) 
     47PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt]) 
     48PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt]) 
     49PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt]) 
     50PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt]) 
     51PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt]) 
     52PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt]) 
     53PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt]) 
     54PASS Bad algorithm: generateKey({name: AES}, false, [sign]) 
     55PASS Bad algorithm: generateKey({name: AES}, true, [sign]) 
     56PASS Bad algorithm: generateKey({name: AES}, RED, [sign]) 
     57PASS Bad algorithm: generateKey({name: AES}, 7, [sign]) 
     58PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign]) 
     59PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign]) 
     60PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign]) 
     61PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign]) 
     62PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits]) 
     63PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits]) 
     64PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits]) 
     65PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits]) 
     66PASS Bad algorithm: generateKey({name: AES}, false, []) 
     67PASS Bad algorithm: generateKey({name: AES}, true, []) 
     68PASS Bad algorithm: generateKey({name: AES}, RED, []) 
     69PASS Bad algorithm: generateKey({name: AES}, 7, []) 
     70PASS Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     71PASS Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     72PASS Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     73PASS Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     74PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt]) 
     75PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt]) 
     76PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt]) 
     77PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt]) 
     78PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt]) 
     79PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt]) 
     80PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt]) 
     81PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt]) 
     82PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt]) 
     83PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt]) 
     84PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt]) 
     85PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt]) 
     86PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt]) 
     87PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt]) 
     88PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt]) 
     89PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt]) 
     90PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [sign]) 
     91PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [sign]) 
     92PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign]) 
     93PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign]) 
     94PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign]) 
     95PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign]) 
     96PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign]) 
     97PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign]) 
     98PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits]) 
     99PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits]) 
     100PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits]) 
     101PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits]) 
     102PASS Bad algorithm: generateKey({length: 128, name: AES}, false, []) 
     103PASS Bad algorithm: generateKey({length: 128, name: AES}, true, []) 
     104PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, []) 
     105PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, []) 
     106PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     107PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     108PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     109PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     110PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt]) 
     111PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt]) 
     112PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt]) 
     113PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt]) 
     114PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt]) 
     115PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt]) 
     116PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt]) 
     117PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt]) 
     118PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt]) 
     119PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt]) 
     120PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt]) 
     121PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt]) 
     122PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt]) 
     123PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt]) 
     124PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt]) 
     125PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt]) 
     126PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign]) 
     127PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign]) 
     128PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign]) 
     129PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign]) 
     130PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign]) 
     131PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign]) 
     132PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign]) 
     133PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign]) 
     134PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits]) 
     135PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits]) 
     136PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits]) 
     137PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits]) 
     138PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, []) 
     139PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, []) 
     140PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, []) 
     141PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, []) 
     142PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     143PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     144PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     145PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     146PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt]) 
     147PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt]) 
     148PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt]) 
     149PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt]) 
     150PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt]) 
     151PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt]) 
     152PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt]) 
     153PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt]) 
     154PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt]) 
     155PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt]) 
     156PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt]) 
     157PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt]) 
     158PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt]) 
     159PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt]) 
     160PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt]) 
     161PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt]) 
     162PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign]) 
     163PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign]) 
     164PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign]) 
     165PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign]) 
     166PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign]) 
     167PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign]) 
     168PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign]) 
     169PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign]) 
     170PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits]) 
     171PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits]) 
     172PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits]) 
     173PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits]) 
     174PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, []) 
     175PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, []) 
     176PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, []) 
     177PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, []) 
     178PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     179PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     180PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     181PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     182PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt]) 
     183PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt]) 
     184PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt]) 
     185PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt]) 
     186PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt]) 
     187PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt]) 
     188PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt]) 
     189PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt]) 
     190PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt]) 
     191PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt]) 
     192PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt]) 
     193PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt]) 
     194PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt]) 
     195PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt]) 
     196PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt]) 
     197PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt]) 
     198PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign]) 
     199PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign]) 
     200PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign]) 
     201PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign]) 
     202PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign]) 
     203PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign]) 
     204PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign]) 
     205PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign]) 
     206PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits]) 
     207PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits]) 
     208PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits]) 
     209PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits]) 
     210PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, []) 
     211PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, []) 
     212PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, []) 
     213PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, []) 
     214PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     215PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     216PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     217PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     218PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt]) 
     219PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt]) 
     220PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt]) 
     221PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt]) 
     222PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt]) 
     223PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt]) 
     224PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt]) 
     225PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt]) 
     226PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt]) 
     227PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt]) 
     228PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt]) 
     229PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt]) 
     230PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt]) 
     231PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt]) 
     232PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt]) 
     233PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt]) 
     234PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign]) 
     235PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign]) 
     236PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign]) 
     237PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign]) 
     238PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign]) 
     239PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign]) 
     240PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign]) 
     241PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign]) 
     242PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits]) 
     243PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits]) 
     244PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits]) 
     245PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits]) 
     246PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, []) 
     247PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, []) 
     248PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, []) 
     249PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, []) 
     250PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     251PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     252PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     253PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     254PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt]) 
     255PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt]) 
     256PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt]) 
     257PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt]) 
     258PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt]) 
     259PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt]) 
     260PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt]) 
     261PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt]) 
     262PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt]) 
     263PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt]) 
     264PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt]) 
     265PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt]) 
     266PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt]) 
     267PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt]) 
     268PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt]) 
     269PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt]) 
     270PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign]) 
     271PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign]) 
     272PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign]) 
     273PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign]) 
     274PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign]) 
     275PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign]) 
     276PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign]) 
     277PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign]) 
     278PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits]) 
     279PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits]) 
     280PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits]) 
     281PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits]) 
     282PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, []) 
     283PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, []) 
     284PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, []) 
     285PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, []) 
     286PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     287PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     288PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     289PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     290PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt]) 
     291PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt]) 
     292PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt]) 
     293PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt]) 
     294PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt]) 
     295PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt]) 
     296PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt]) 
     297PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt]) 
     298PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt]) 
     299PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt]) 
     300PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt]) 
     301PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt]) 
     302PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt]) 
     303PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt]) 
     304PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt]) 
     305PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt]) 
     306PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign]) 
     307PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign]) 
     308PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign]) 
     309PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign]) 
     310PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign]) 
     311PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign]) 
     312PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign]) 
     313PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign]) 
     314PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits]) 
     315PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits]) 
     316PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits]) 
     317PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits]) 
     318PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, []) 
     319PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, []) 
     320PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, []) 
     321PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, []) 
     322PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     323PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     324PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     325PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     326PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [encrypt]) 
     327PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, encrypt]) 
     328PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, encrypt]) 
     329PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, encrypt]) 
     330PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt]) 
     331PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt]) 
     332PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, decrypt]) 
     333PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, decrypt]) 
     334PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [wrapKey]) 
     335PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, wrapKey]) 
     336PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, wrapKey]) 
     337PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, wrapKey]) 
     338PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [unwrapKey]) 
     339PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, unwrapKey]) 
     340PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, unwrapKey]) 
     341PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, unwrapKey]) 
     342PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveKey]) 
     343PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveKey]) 
     344PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveKey]) 
     345PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveKey]) 
     346PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits]) 
     347PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveBits]) 
     348PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveBits]) 
     349PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveBits]) 
     350PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [encrypt]) 
     351PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, encrypt]) 
     352PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, encrypt]) 
     353PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, encrypt]) 
     354PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt]) 
     355PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt]) 
     356PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, decrypt]) 
     357PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, decrypt]) 
     358PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [wrapKey]) 
     359PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, wrapKey]) 
     360PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, wrapKey]) 
     361PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, wrapKey]) 
     362PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [unwrapKey]) 
     363PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, unwrapKey]) 
     364PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, unwrapKey]) 
     365PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, unwrapKey]) 
     366PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveKey]) 
     367PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveKey]) 
     368PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveKey]) 
     369PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveKey]) 
     370PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits]) 
     371PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveBits]) 
     372PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveBits]) 
     373PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveBits]) 
     374PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [sign]) 
     375PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [sign]) 
     376PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [verify, sign]) 
     377PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [verify, sign]) 
     378PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, []) 
     379PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, []) 
     380PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [sign, verify, sign, sign, verify]) 
     381PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [sign, verify, sign, sign, verify]) 
     382PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [sign]) 
     383PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [sign]) 
     384PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [verify, sign]) 
     385PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [verify, sign]) 
     386PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, []) 
     387PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, []) 
     388PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [sign, verify, sign, sign, verify]) 
     389PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [sign, verify, sign, sign, verify]) 
     390PASS Empty usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, []) 
     391PASS Empty usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, []) 
     392PASS Empty usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, []) 
     393PASS Empty usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, []) 
    394394
  • trunk/LayoutTests/platform/mac/imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_RSA-PSS.https.any.worker-expected.txt

    r232772 r232781  
    11
    2 PASS Bad algorithm: generateKey(AES, false, [decrypt])
    3 PASS Bad algorithm: generateKey(AES, true, [decrypt])
    4 PASS Bad algorithm: generateKey(AES, RED, [decrypt])
    5 PASS Bad algorithm: generateKey(AES, 7, [decrypt])
    6 PASS Bad algorithm: generateKey(AES, false, [sign, decrypt])
    7 PASS Bad algorithm: generateKey(AES, true, [sign, decrypt])
    8 PASS Bad algorithm: generateKey(AES, RED, [sign, decrypt])
    9 PASS Bad algorithm: generateKey(AES, 7, [sign, decrypt])
    10 PASS Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt])
    11 PASS Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt])
    12 PASS Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt])
    13 PASS Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt])
    14 PASS Bad algorithm: generateKey(AES, false, [deriveBits, decrypt])
    15 PASS Bad algorithm: generateKey(AES, true, [deriveBits, decrypt])
    16 PASS Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt])
    17 PASS Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt])
    18 PASS Bad algorithm: generateKey(AES, false, [sign])
    19 PASS Bad algorithm: generateKey(AES, true, [sign])
    20 PASS Bad algorithm: generateKey(AES, RED, [sign])
    21 PASS Bad algorithm: generateKey(AES, 7, [sign])
    22 PASS Bad algorithm: generateKey(AES, false, [deriveBits, sign])
    23 PASS Bad algorithm: generateKey(AES, true, [deriveBits, sign])
    24 PASS Bad algorithm: generateKey(AES, RED, [deriveBits, sign])
    25 PASS Bad algorithm: generateKey(AES, 7, [deriveBits, sign])
    26 PASS Bad algorithm: generateKey(AES, false, [deriveBits])
    27 PASS Bad algorithm: generateKey(AES, true, [deriveBits])
    28 PASS Bad algorithm: generateKey(AES, RED, [deriveBits])
    29 PASS Bad algorithm: generateKey(AES, 7, [deriveBits])
    30 PASS Bad algorithm: generateKey(AES, false, [])
    31 PASS Bad algorithm: generateKey(AES, true, [])
    32 PASS Bad algorithm: generateKey(AES, RED, [])
    33 PASS Bad algorithm: generateKey(AES, 7, [])
    34 PASS Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    35 PASS Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    36 PASS Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    37 PASS Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    38 PASS Bad algorithm: generateKey({name: AES}, false, [decrypt])
    39 PASS Bad algorithm: generateKey({name: AES}, true, [decrypt])
    40 PASS Bad algorithm: generateKey({name: AES}, RED, [decrypt])
    41 PASS Bad algorithm: generateKey({name: AES}, 7, [decrypt])
    42 PASS Bad algorithm: generateKey({name: AES}, false, [sign, decrypt])
    43 PASS Bad algorithm: generateKey({name: AES}, true, [sign, decrypt])
    44 PASS Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt])
    45 PASS Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt])
    46 PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt])
    47 PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt])
    48 PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt])
    49 PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt])
    50 PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt])
    51 PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt])
    52 PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt])
    53 PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt])
    54 PASS Bad algorithm: generateKey({name: AES}, false, [sign])
    55 PASS Bad algorithm: generateKey({name: AES}, true, [sign])
    56 PASS Bad algorithm: generateKey({name: AES}, RED, [sign])
    57 PASS Bad algorithm: generateKey({name: AES}, 7, [sign])
    58 PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign])
    59 PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign])
    60 PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign])
    61 PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign])
    62 PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits])
    63 PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits])
    64 PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits])
    65 PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits])
    66 PASS Bad algorithm: generateKey({name: AES}, false, [])
    67 PASS Bad algorithm: generateKey({name: AES}, true, [])
    68 PASS Bad algorithm: generateKey({name: AES}, RED, [])
    69 PASS Bad algorithm: generateKey({name: AES}, 7, [])
    70 PASS Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    71 PASS Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    72 PASS Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    73 PASS Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    74 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt])
    75 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt])
    76 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt])
    77 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt])
    78 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt])
    79 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt])
    80 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt])
    81 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt])
    82 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt])
    83 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt])
    84 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt])
    85 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt])
    86 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt])
    87 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt])
    88 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt])
    89 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt])
    90 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [sign])
    91 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [sign])
    92 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign])
    93 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign])
    94 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign])
    95 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign])
    96 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign])
    97 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign])
    98 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits])
    99 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits])
    100 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits])
    101 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits])
    102 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [])
    103 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [])
    104 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [])
    105 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [])
    106 PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    107 PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    108 PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    109 PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    110 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt])
    111 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt])
    112 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt])
    113 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt])
    114 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt])
    115 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt])
    116 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt])
    117 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt])
    118 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt])
    119 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt])
    120 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt])
    121 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt])
    122 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt])
    123 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt])
    124 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt])
    125 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt])
    126 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign])
    127 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign])
    128 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign])
    129 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign])
    130 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign])
    131 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign])
    132 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign])
    133 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign])
    134 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits])
    135 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits])
    136 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits])
    137 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits])
    138 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [])
    139 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [])
    140 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [])
    141 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [])
    142 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    143 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    144 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    145 PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    146 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt])
    147 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt])
    148 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt])
    149 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt])
    150 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt])
    151 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt])
    152 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt])
    153 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt])
    154 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt])
    155 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt])
    156 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt])
    157 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt])
    158 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt])
    159 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt])
    160 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt])
    161 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt])
    162 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign])
    163 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign])
    164 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign])
    165 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign])
    166 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign])
    167 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign])
    168 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign])
    169 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign])
    170 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits])
    171 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits])
    172 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits])
    173 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits])
    174 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [])
    175 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [])
    176 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [])
    177 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [])
    178 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    179 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    180 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    181 PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    182 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt])
    183 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt])
    184 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt])
    185 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt])
    186 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt])
    187 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt])
    188 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt])
    189 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt])
    190 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt])
    191 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt])
    192 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt])
    193 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt])
    194 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt])
    195 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt])
    196 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt])
    197 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt])
    198 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign])
    199 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign])
    200 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign])
    201 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign])
    202 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign])
    203 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign])
    204 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign])
    205 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign])
    206 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits])
    207 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits])
    208 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits])
    209 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits])
    210 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [])
    211 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [])
    212 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [])
    213 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [])
    214 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    215 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    216 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    217 PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    218 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])
    219 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])
    220 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])
    221 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])
    222 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])
    223 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])
    224 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])
    225 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])
    226 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])
    227 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])
    228 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])
    229 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])
    230 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])
    231 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])
    232 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])
    233 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])
    234 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])
    235 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])
    236 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])
    237 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])
    238 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])
    239 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])
    240 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])
    241 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])
    242 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])
    243 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])
    244 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])
    245 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])
    246 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])
    247 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])
    248 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])
    249 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])
    250 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    251 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    252 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    253 PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    254 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])
    255 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])
    256 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])
    257 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])
    258 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])
    259 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])
    260 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])
    261 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])
    262 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])
    263 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])
    264 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])
    265 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])
    266 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])
    267 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])
    268 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])
    269 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])
    270 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])
    271 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])
    272 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])
    273 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])
    274 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])
    275 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])
    276 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])
    277 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])
    278 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])
    279 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])
    280 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])
    281 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])
    282 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])
    283 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])
    284 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])
    285 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])
    286 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    287 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    288 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    289 PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    290 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt])
    291 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt])
    292 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt])
    293 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt])
    294 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt])
    295 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt])
    296 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt])
    297 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt])
    298 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt])
    299 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt])
    300 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt])
    301 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt])
    302 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt])
    303 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt])
    304 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt])
    305 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt])
    306 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign])
    307 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign])
    308 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign])
    309 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign])
    310 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign])
    311 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign])
    312 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign])
    313 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign])
    314 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits])
    315 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits])
    316 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits])
    317 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits])
    318 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [])
    319 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [])
    320 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [])
    321 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [])
    322 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    323 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    324 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    325 PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])
    326 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [encrypt])
    327 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, encrypt])
    328 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, encrypt])
    329 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, encrypt])
    330 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])
    331 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])
    332 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, decrypt])
    333 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, decrypt])
    334 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [wrapKey])
    335 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, wrapKey])
    336 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, wrapKey])
    337 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, wrapKey])
    338 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [unwrapKey])
    339 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, unwrapKey])
    340 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, unwrapKey])
    341 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, unwrapKey])
    342 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveKey])
    343 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveKey])
    344 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveKey])
    345 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveKey])
    346 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])
    347 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveBits])
    348 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveBits])
    349 PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveBits])
    350 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [encrypt])
    351 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, encrypt])
    352 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, encrypt])
    353 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, encrypt])
    354 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])
    355 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])
    356 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, decrypt])
    357 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, decrypt])
    358 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [wrapKey])
    359 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, wrapKey])
    360 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, wrapKey])
    361 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, wrapKey])
    362 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [unwrapKey])
    363 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, unwrapKey])
    364 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, unwrapKey])
    365 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, unwrapKey])
    366 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveKey])
    367 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveKey])
    368 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveKey])
    369 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveKey])
    370 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])
    371 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveBits])
    372 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveBits])
    373 PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveBits])
    374 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [sign])
    375 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [sign])
    376 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [verify, sign])
    377 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [verify, sign])
    378 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [])
    379 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [])
    380 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [sign, verify, sign, sign, verify])
    381 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [sign, verify, sign, sign, verify])
    382 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [sign])
    383 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [sign])
    384 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [verify, sign])
    385 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [verify, sign])
    386 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [])
    387 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [])
    388 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [sign, verify, sign, sign, verify])
    389 PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [sign, verify, sign, sign, verify])
    390 PASS Empty usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])
    391 PASS Empty usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])
    392 PASS Empty usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])
    393 PASS Empty usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])
     2PASS Bad algorithm: generateKey(AES, false, [decrypt]) 
     3PASS Bad algorithm: generateKey(AES, true, [decrypt]) 
     4PASS Bad algorithm: generateKey(AES, RED, [decrypt]) 
     5PASS Bad algorithm: generateKey(AES, 7, [decrypt]) 
     6PASS Bad algorithm: generateKey(AES, false, [sign, decrypt]) 
     7PASS Bad algorithm: generateKey(AES, true, [sign, decrypt]) 
     8PASS Bad algorithm: generateKey(AES, RED, [sign, decrypt]) 
     9PASS Bad algorithm: generateKey(AES, 7, [sign, decrypt]) 
     10PASS Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt]) 
     11PASS Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt]) 
     12PASS Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt]) 
     13PASS Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt]) 
     14PASS Bad algorithm: generateKey(AES, false, [deriveBits, decrypt]) 
     15PASS Bad algorithm: generateKey(AES, true, [deriveBits, decrypt]) 
     16PASS Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt]) 
     17PASS Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt]) 
     18PASS Bad algorithm: generateKey(AES, false, [sign]) 
     19PASS Bad algorithm: generateKey(AES, true, [sign]) 
     20PASS Bad algorithm: generateKey(AES, RED, [sign]) 
     21PASS Bad algorithm: generateKey(AES, 7, [sign]) 
     22PASS Bad algorithm: generateKey(AES, false, [deriveBits, sign]) 
     23PASS Bad algorithm: generateKey(AES, true, [deriveBits, sign]) 
     24PASS Bad algorithm: generateKey(AES, RED, [deriveBits, sign]) 
     25PASS Bad algorithm: generateKey(AES, 7, [deriveBits, sign]) 
     26PASS Bad algorithm: generateKey(AES, false, [deriveBits]) 
     27PASS Bad algorithm: generateKey(AES, true, [deriveBits]) 
     28PASS Bad algorithm: generateKey(AES, RED, [deriveBits]) 
     29PASS Bad algorithm: generateKey(AES, 7, [deriveBits]) 
     30PASS Bad algorithm: generateKey(AES, false, []) 
     31PASS Bad algorithm: generateKey(AES, true, []) 
     32PASS Bad algorithm: generateKey(AES, RED, []) 
     33PASS Bad algorithm: generateKey(AES, 7, []) 
     34PASS Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     35PASS Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     36PASS Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     37PASS Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     38PASS Bad algorithm: generateKey({name: AES}, false, [decrypt]) 
     39PASS Bad algorithm: generateKey({name: AES}, true, [decrypt]) 
     40PASS Bad algorithm: generateKey({name: AES}, RED, [decrypt]) 
     41PASS Bad algorithm: generateKey({name: AES}, 7, [decrypt]) 
     42PASS Bad algorithm: generateKey({name: AES}, false, [sign, decrypt]) 
     43PASS Bad algorithm: generateKey({name: AES}, true, [sign, decrypt]) 
     44PASS Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt]) 
     45PASS Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt]) 
     46PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt]) 
     47PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt]) 
     48PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt]) 
     49PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt]) 
     50PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt]) 
     51PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt]) 
     52PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt]) 
     53PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt]) 
     54PASS Bad algorithm: generateKey({name: AES}, false, [sign]) 
     55PASS Bad algorithm: generateKey({name: AES}, true, [sign]) 
     56PASS Bad algorithm: generateKey({name: AES}, RED, [sign]) 
     57PASS Bad algorithm: generateKey({name: AES}, 7, [sign]) 
     58PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign]) 
     59PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign]) 
     60PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign]) 
     61PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign]) 
     62PASS Bad algorithm: generateKey({name: AES}, false, [deriveBits]) 
     63PASS Bad algorithm: generateKey({name: AES}, true, [deriveBits]) 
     64PASS Bad algorithm: generateKey({name: AES}, RED, [deriveBits]) 
     65PASS Bad algorithm: generateKey({name: AES}, 7, [deriveBits]) 
     66PASS Bad algorithm: generateKey({name: AES}, false, []) 
     67PASS Bad algorithm: generateKey({name: AES}, true, []) 
     68PASS Bad algorithm: generateKey({name: AES}, RED, []) 
     69PASS Bad algorithm: generateKey({name: AES}, 7, []) 
     70PASS Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     71PASS Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     72PASS Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     73PASS Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     74PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt]) 
     75PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt]) 
     76PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt]) 
     77PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt]) 
     78PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt]) 
     79PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt]) 
     80PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt]) 
     81PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt]) 
     82PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt]) 
     83PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt]) 
     84PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt]) 
     85PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt]) 
     86PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt]) 
     87PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt]) 
     88PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt]) 
     89PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt]) 
     90PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [sign]) 
     91PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [sign]) 
     92PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign]) 
     93PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign]) 
     94PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign]) 
     95PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign]) 
     96PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign]) 
     97PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign]) 
     98PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits]) 
     99PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits]) 
     100PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits]) 
     101PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits]) 
     102PASS Bad algorithm: generateKey({length: 128, name: AES}, false, []) 
     103PASS Bad algorithm: generateKey({length: 128, name: AES}, true, []) 
     104PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, []) 
     105PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, []) 
     106PASS Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     107PASS Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     108PASS Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     109PASS Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     110PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt]) 
     111PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt]) 
     112PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt]) 
     113PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt]) 
     114PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt]) 
     115PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt]) 
     116PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt]) 
     117PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt]) 
     118PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt]) 
     119PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt]) 
     120PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt]) 
     121PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt]) 
     122PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt]) 
     123PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt]) 
     124PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt]) 
     125PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt]) 
     126PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign]) 
     127PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign]) 
     128PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign]) 
     129PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign]) 
     130PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign]) 
     131PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign]) 
     132PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign]) 
     133PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign]) 
     134PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits]) 
     135PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits]) 
     136PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits]) 
     137PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits]) 
     138PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, []) 
     139PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, []) 
     140PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, []) 
     141PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, []) 
     142PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     143PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     144PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     145PASS Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     146PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt]) 
     147PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt]) 
     148PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt]) 
     149PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt]) 
     150PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt]) 
     151PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt]) 
     152PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt]) 
     153PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt]) 
     154PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt]) 
     155PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt]) 
     156PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt]) 
     157PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt]) 
     158PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt]) 
     159PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt]) 
     160PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt]) 
     161PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt]) 
     162PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign]) 
     163PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign]) 
     164PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign]) 
     165PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign]) 
     166PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign]) 
     167PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign]) 
     168PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign]) 
     169PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign]) 
     170PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits]) 
     171PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits]) 
     172PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits]) 
     173PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits]) 
     174PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, []) 
     175PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, []) 
     176PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, []) 
     177PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, []) 
     178PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     179PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     180PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     181PASS Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     182PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt]) 
     183PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt]) 
     184PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt]) 
     185PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt]) 
     186PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt]) 
     187PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt]) 
     188PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt]) 
     189PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt]) 
     190PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt]) 
     191PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt]) 
     192PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt]) 
     193PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt]) 
     194PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt]) 
     195PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt]) 
     196PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt]) 
     197PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt]) 
     198PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign]) 
     199PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign]) 
     200PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign]) 
     201PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign]) 
     202PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign]) 
     203PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign]) 
     204PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign]) 
     205PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign]) 
     206PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits]) 
     207PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits]) 
     208PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits]) 
     209PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits]) 
     210PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, []) 
     211PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, []) 
     212PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, []) 
     213PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, []) 
     214PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     215PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     216PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     217PASS Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     218PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt]) 
     219PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt]) 
     220PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt]) 
     221PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt]) 
     222PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt]) 
     223PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt]) 
     224PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt]) 
     225PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt]) 
     226PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt]) 
     227PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt]) 
     228PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt]) 
     229PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt]) 
     230PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt]) 
     231PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt]) 
     232PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt]) 
     233PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt]) 
     234PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign]) 
     235PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign]) 
     236PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign]) 
     237PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign]) 
     238PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign]) 
     239PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign]) 
     240PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign]) 
     241PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign]) 
     242PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits]) 
     243PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits]) 
     244PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits]) 
     245PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits]) 
     246PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, []) 
     247PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, []) 
     248PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, []) 
     249PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, []) 
     250PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     251PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     252PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     253PASS Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     254PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt]) 
     255PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt]) 
     256PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt]) 
     257PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt]) 
     258PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt]) 
     259PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt]) 
     260PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt]) 
     261PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt]) 
     262PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt]) 
     263PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt]) 
     264PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt]) 
     265PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt]) 
     266PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt]) 
     267PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt]) 
     268PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt]) 
     269PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt]) 
     270PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign]) 
     271PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign]) 
     272PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign]) 
     273PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign]) 
     274PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign]) 
     275PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign]) 
     276PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign]) 
     277PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign]) 
     278PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits]) 
     279PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits]) 
     280PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits]) 
     281PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits]) 
     282PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, []) 
     283PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, []) 
     284PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, []) 
     285PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, []) 
     286PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     287PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     288PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     289PASS Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     290PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt]) 
     291PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt]) 
     292PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt]) 
     293PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt]) 
     294PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt]) 
     295PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt]) 
     296PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt]) 
     297PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt]) 
     298PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt]) 
     299PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt]) 
     300PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt]) 
     301PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt]) 
     302PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt]) 
     303PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt]) 
     304PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt]) 
     305PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt]) 
     306PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign]) 
     307PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign]) 
     308PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign]) 
     309PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign]) 
     310PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign]) 
     311PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign]) 
     312PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign]) 
     313PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign]) 
     314PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits]) 
     315PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits]) 
     316PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits]) 
     317PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits]) 
     318PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, []) 
     319PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, []) 
     320PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, []) 
     321PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, []) 
     322PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     323PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     324PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     325PASS Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits]) 
     326PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [encrypt]) 
     327PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, encrypt]) 
     328PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, encrypt]) 
     329PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, encrypt]) 
     330PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt]) 
     331PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt]) 
     332PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, decrypt]) 
     333PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, decrypt]) 
     334PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [wrapKey]) 
     335PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, wrapKey]) 
     336PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, wrapKey]) 
     337PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, wrapKey]) 
     338PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [unwrapKey]) 
     339PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, unwrapKey]) 
     340PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, unwrapKey]) 
     341PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, unwrapKey]) 
     342PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveKey]) 
     343PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveKey]) 
     344PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveKey]) 
     345PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveKey]) 
     346PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits]) 
     347PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveBits]) 
     348PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveBits]) 
     349PASS Bad usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveBits]) 
     350PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [encrypt]) 
     351PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, encrypt]) 
     352PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, encrypt]) 
     353PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, encrypt]) 
     354PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt]) 
     355PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt]) 
     356PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, decrypt]) 
     357PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, decrypt]) 
     358PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [wrapKey]) 
     359PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, wrapKey]) 
     360PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, wrapKey]) 
     361PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, wrapKey]) 
     362PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [unwrapKey]) 
     363PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, unwrapKey]) 
     364PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, unwrapKey]) 
     365PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, unwrapKey]) 
     366PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveKey]) 
     367PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveKey]) 
     368PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveKey]) 
     369PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveKey]) 
     370PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits]) 
     371PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, deriveBits]) 
     372PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [verify, sign, deriveBits]) 
     373PASS Bad usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, verify, sign, sign, verify, deriveBits]) 
     374PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [sign]) 
     375PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [sign]) 
     376PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [verify, sign]) 
     377PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [verify, sign]) 
     378PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, []) 
     379PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, []) 
     380PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, false, [sign, verify, sign, sign, verify]) 
     381PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1}}, true, [sign, verify, sign, sign, verify]) 
     382PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [sign]) 
     383PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [sign]) 
     384PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [verify, sign]) 
     385PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [verify, sign]) 
     386PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, []) 
     387PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, []) 
     388PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, false, [sign, verify, sign, sign, verify]) 
     389PASS Bad algorithm property: generateKey({hash: SHA-256, modulusLength: 1024, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 0}}, true, [sign, verify, sign, sign, verify]) 
     390PASS Empty usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, []) 
     391PASS Empty usages: generateKey({hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, []) 
     392PASS Empty usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, []) 
     393PASS Empty usages: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, []) 
    394394
Note: See TracChangeset for help on using the changeset viewer.