UMIS SDK
    Preparing search index...

    Function verifyPresentation

    • The shared decision for an SD-JWT presentation with a key-binding JWT: the nine steps for any channel. o says how the presentation is bound to this verifier (audience, nonce, age, the id it is remembered under) and what is asked of it; the context supplies the policy, the trusted issuers, the status lists and the stores. It never throws.

      Parameters

      • presentation: string
      • ctx: VerifierContext
      • o: {
            aud: string | readonly string[];
            authority?: AuthorityRequest;
            channel: "qr_oneway" | "qr_full" | "qr_reverse" | "ble" | "oid4vp";
            maxAgeSeconds: number;
            nonce?: string;
            notBefore?: number;
            replayExpiresAt: number;
            replayKey: (nonce: string) => string;
            requiredClaims?: readonly (
                "org"
                | "org_unit"
                | "role"
                | "display"
                | "authority"
                | "delegation"
            )[];
        }

      Returns Promise<VerificationResult>