@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
25 lines (20 loc) • 757 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import IJweRecipient from './IJweRecipient';
import { TSMap } from 'typescript-map'
import IJweBase from './IJweBase';
/**
* Defines a header in JWE
*/
export type JweHeader = TSMap<string, string>;
/**
* JWE general json format
*/
export default interface IJweGeneralJson extends IJweBase {
/**
* The recipients that can decrypt
*/
recipients: IJweRecipient[]
}