iya-sts
    Preparing search index...

    Variable deriveProof

    deriveProof: (secured: any, selectivePointers: string[]) => Promise<any> = ...

    Type Declaration

      • (secured: any, selectivePointers: string[]): Promise<any>
      • Derives a proof revealing the mandatory statements and those the selective pointers name (sections 3.5.4 and 3.6.6).

        Parameters

        • secured: any

          the credential with its base proof

        • selectivePointers: string[]

          the JSON pointers to reveal

        Returns Promise<any>

        the revealed document with its derived proof

        Error when the credential carries no ecdsa-sd-2023 proof