Interface: DecryptionKey
March 19, 2026 ยท View on GitHub
Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.
Properties
key
โข key: CryptoKey
An asymmetric private CryptoKey. Its algorithm must be compatible with a supported JWE Key Management Algorithm Identifier
alg?
โข optional alg?: string
The key's JWE Key Management Algorithm Identifier, this can be used to limit ECDH and X25519 keys to only a specified ECDH-ES* JWE Key Management Algorithm (The other (RSA) keys have a JWE Key Management Algorithm Identifier fully specified by their CryptoKey algorithm).
kid?
โข optional kid?: string
The key's JWK Key ID.