| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -238,7 +238,16 @@ const opts = { prefix, context }; | |||
| 238 | 238 | ||
| 239 | 239 | // KeyFormat | |
| 240 | 240 | { | |
| 241 | - for (const good of ['jwk', 'spki', 'pkcs8', 'raw']) { | ||
| 241 | + for (const good of [ | ||
| 242 | + 'jwk', | ||
| 243 | + 'spki', | ||
| 244 | + 'pkcs8', | ||
| 245 | + 'raw', | ||
| 246 | + 'raw-public', | ||
| 247 | + 'raw-seed', | ||
| 248 | + 'raw-secret', | ||
| 249 | + 'raw-private', | ||
| 250 | + ]) { | ||
| 242 | 251 | assert.strictEqual(converters.KeyFormat(good), good); | |
| 243 | 252 | } | |
| 244 | 253 | ||
@@ -262,6 +271,10 @@ const opts = { prefix, context }; | |||
| 262 | 271 | 'deriveBits', | |
| 263 | 272 | 'wrapKey', | |
| 264 | 273 | 'unwrapKey', | |
| 274 | + 'encapsulateBits', | ||
| 275 | + 'decapsulateBits', | ||
| 276 | + 'encapsulateKey', | ||
| 277 | + 'decapsulateKey', | ||
| 265 | 278 | ]) { | |
| 266 | 279 | assert.strictEqual(converters.KeyUsage(good), good); | |
| 267 | 280 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments