@did-btc1/cryptosuite
    Preparing search index...

    Interface IDataIntegrityProof

    Interface representing a BIP-340 DataIntegrityProof. IDataIntegrityProof

    interface IDataIntegrityProof {
        cryptosuite: Cryptosuite;
        addProof(params: AddProofParams): Promise<DidUpdateInvocation>;
        verifyProof(params: VerifyProofParams): Promise<VerificationResult>;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    cryptosuite: Cryptosuite

    Methods

    • Add a proof to a document.

      Parameters

      • params: AddProofParams

        Parameters for adding a proof to a document.

        • document: DidUpdatePayload
        • options: ProofOptions

      Returns Promise<DidUpdateInvocation>

      A document with a proof added.