UMIS SDK
    Preparing search index...

    Function parseSdJwt

    • Parses an SD-JWT VC or presentation structurally and by the profile, without trusting any of it: the issuer signature, the key binding and the times are separate checks. The text is split at ~; the first part is the issuer JWT (typ dc+sd-jwt), the last is empty or a key-binding JWT, the rest are disclosures. A disclosure must be an array of salt, a profile claim name and a value, must be listed in _sd, and must not repeat a digest or a claim name, or clash with a plain claim. Extra _sd digests without a disclosure are accepted (claims that stay hidden).

      Parameters

      Returns Promise<ParsedSdJwt>