UNPKG

@tangle-js/ld-proofs

Version:

Linked Data Proofs on the Tangle. Powered by IOTA Identity & IOTA Streams

18 lines (17 loc) 477 B
/// <reference types="node" /> import type { Document as DidDocument } from "@iota/identity-wasm/node/identity_wasm.js"; /** * Signing Response. */ export interface ISigningRequest { /** DID Document. */ didDocument: DidDocument; /** Message to be signed. */ message: Buffer; /** Type of signature. */ type: string; /** Method for signing and verification. */ method: string; /** Private key used for signing. */ secret: Uint8Array; }