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>
-
Parameters
- buf: Buffer
- key: any
- opts: { algorithms: string[]; maxOutputLength?: number; now?: number }
Returns Promise<any>
{ sub, iat, exp, ttl, bits, bytes, aggregationUri, alg }
Verifies and reads a Status List Token in CWT form, a post-quantum check made on libuv's thread pool.