iya-sts
    Preparing search index...

    Variable statusListKey

    statusListKey: (cwt: Buffer, anchorsPem: string) => Promise<any> = ...

    Type Declaration

      • (cwt: Buffer, anchorsPem: string): Promise<any>
      • Finds the key a Status List Token in CWT form, referenced by an mdoc, is verified with: the leaf of its x5chain, which must chain to oid4vp.mdocTrustAnchors as the document signer does (ISO/IEC 18013-5 section 12.3.6.2).

        Parameters

        • cwt: Buffer

          the token's bytes

        • anchorsPem: string

          the anchors, PEM

        Returns Promise<any>

        the leaf's public key

        Error when it carries no chain or the chain is not trusted