mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Add node-jose DecryptResult properties (#39148)
Add missing DecryptResult properties found in the `node-jose` implementation and documented here: https://github.com/cisco/node-jose/blob/master/lib/jwe/decrypt.js#L42
This commit is contained in:
committed by
Wesley Wigham
parent
7456fd99fc
commit
cbc8a1ec78
9
types/node-jose/index.d.ts
vendored
9
types/node-jose/index.d.ts
vendored
@@ -113,10 +113,19 @@ export namespace JWE {
|
||||
}
|
||||
|
||||
interface DecryptResult {
|
||||
header: object;
|
||||
/**
|
||||
* an array of the member names from the "protected" member
|
||||
*/
|
||||
protected: string[];
|
||||
/**
|
||||
* Key used to decrypt
|
||||
*/
|
||||
key: JWK.Key;
|
||||
/**
|
||||
* Buffer of the decrypted content
|
||||
*/
|
||||
payload: Buffer;
|
||||
/**
|
||||
* the decrypted content (alternate)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user