UMIS SDK
    Preparing search index...

    Function resolveIssuer

    • Decides whether an issuer may be trusted for a credential type and which of its keys verifies the credential. The only source of trust is trusted, the verifier's own registry (as returned by parseRegistry, one entry per issuer); the issuer must match an entry exactly. The checks run in this order and the first failure is the answer: no entry (ISSUER_UNTRUSTED), an entry that is not active or whose validUntil is before now (ISSUER_SUSPENDED), a type the entry does not list (ISSUER_VCT_NOT_ALLOWED), no matching key (ISSUER_KEY_UNKNOWN).

      Parameters

      • trusted: readonly TrustedIssuerEntryV1[]
      • i: { issuer: string; kid?: string; now: number; vct: string }

      Returns IssuerResolution