Interface: DecryptionKey

March 19, 2026 ยท View on GitHub

๐Ÿ’— Help the project

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.