@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
26 lines (25 loc) • 612 B
TypeScript
/// <reference types="node" />
/// <reference types="pouchdb-core" />
import { JwsHeader } from "./IJwsGeneralJson";
import IJwsSignature from "./IJwsSignature";
/**
* JWS signature used by the general JSON
*/
export default class JwsSignature implements IJwsSignature {
/**
* The protected (signed) header.
*/
protected?: JwsHeader;
/**
* The unprotected (unverified) header.
*/
header?: JwsHeader;
/**
* The JWS signature.
*/
signature: Buffer;
/**
* Creates instance of @class JwsSignature
*/
constructor();
}