| 10 | |
| 11 | /** Secret generation function options. */ |
| 12 | export interface GenerateSecretOptions { |
| 13 | /** |
| 14 | * The value to use as {@link !SubtleCrypto.generateKey} `extractable` argument. Default is false. |
| 15 | * |
| 16 | * > [!NOTE]\ |
| 17 | * > Because A128CBC-HS256, A192CBC-HS384, and A256CBC-HS512 secrets cannot be represented as |
| 18 | * > {@link !CryptoKey} this option has no effect for them. |
| 19 | */ |
| 20 | extractable?: boolean |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Generates a symmetric secret key for a given JWA algorithm identifier. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…