iya-sts
    Preparing search index...

    Variable deriveProof

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

    Type Declaration

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

        Parameters

        • secured: any

          the credential with its base proof

        • selectivePointers: string[]

          the JSON pointers to reveal

        • Optionaloptions: any

          presentationHeader (bytes)

        Returns Promise<any>

        the reveal document with its derived proof

        Error when the credential carries no bbs-2023 base proof, or a pointer names nothing in it