UNPKG

di-wings

Version:

Aviary Tech's common library for decentralized identity

22 lines 734 B
import type { ILinkedDataProof } from "../../common/interfaces"; export interface ProofJSON { type: string; proofPurpose: string; verificationMethod: string; created: string; challenge?: string; domain?: string; } export declare class LinkedDataProof implements ILinkedDataProof { type: string; proofPurpose: string; created: string; verificationMethod: string; challenge?: string; domain?: string; constructor(type: string, proofPurpose: string, verificationMethod: string, challenge?: string, domain?: string, created?: string); private generateTimestamp; validate(maxTimestampDelta?: number | null): boolean; toJSON(): ProofJSON; } //# sourceMappingURL=proof.d.ts.map