DecryptJweOptions
DecryptJweOptions
Input policy for decryptCompactJwe; neither allowlist is inferred from the token.
ts
interface DecryptJweOptions {
readonly privateKey: CryptoKey;
readonly keyManagementAlgorithms: readonly [JweAlgorithm, undefined];
readonly contentEncryptionAlgorithms: readonly [JweEncryption, undefined];
readonly limits?: Partial<JoseLimits>;
}Properties
readonlyprivateKey:CryptoKey— An RSA-OAEP/SHA-512 private key withdecryptusage, 2048–8192 bits.readonlykeyManagementAlgorithms:readonly[JweAlgorithm,undefined] — Accepted key-management algorithms for this application.readonlycontentEncryptionAlgorithms:readonly[JweEncryption,undefined] — Accepted content-encryption algorithms for this application.readonlylimits?:Partial<JoseLimits> — Bounds with the same meaning asEncryptJweInput.limits.