iya-sts
    Preparing search index...

    Variable readStatusListCwtAsync

    readStatusListCwtAsync: (
        buf: Buffer,
        key: any,
        opts: { algorithms: string[]; maxOutputLength?: number; now?: number },
    ) => Promise<any> = ...

    Type Declaration

      • (
            buf: Buffer,
            key: any,
            opts: { algorithms: string[]; maxOutputLength?: number; now?: number },
        ): Promise<any>
      • Verifies and reads a Status List Token in CWT form, a post-quantum check made on libuv's thread pool.

        Parameters

        • buf: Buffer

          the CWT bytes

        • key: any

          the public key

        • opts: { algorithms: string[]; maxOutputLength?: number; now?: number }

          algorithms, and now and maxOutputLength

        Returns Promise<any>

        { sub, iat, exp, ttl, bits, bytes, aggregationUri, alg }