@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
27 lines (26 loc) • 661 B
TypeScript
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import IJwsSignature from './IJwsSignature';
import { ProtectionFormat } from '../../../keyStore/ProtectionFormat';
import { TSMap } from 'typescript-map';
/**
* Defines a header in JWS
*/
export declare type JwsHeader = TSMap<string, string>;
/**
* JWS general json format
*/
export default interface IJwsGeneralJson {
/**
* The application-specific non-encoded payload.
*/
payload: Buffer;
/**
* The signatures
*/
signatures: IJwsSignature[];
/**
* The serialization format
*/
format: ProtectionFormat;
}