iya-sts
    Preparing search index...

    Variable processDisclosures

    processDisclosures: (payload: any, disclosures: string[]) => any = ...

    Type Declaration

      • (payload: any, disclosures: string[]): any
      • Processes an SD-JWT's Disclosures into its payload (RFC 9901 section 7.1).

        Parameters

        • payload: any

          the issuer-signed payload

        • disclosures: string[]

          the Disclosures presented

        Returns any

        the processed payload

        Error for a Disclosure that is malformed, repeated or unused