UMIS SDK
    Preparing search index...

    Function decodeJwsUnverified

    • Splits and decodes a compact JWS without checking the signature. Three segments, JSON objects for header and payload and a 64-byte signature are required (MALFORMED otherwise); an alg other than ES256 is UNSUPPORTED_FORMAT. The result is for inspection and for key lookup only: nothing in it is trusted until verifyJws accepts it.

      Type Parameters

      • P = Record<string, unknown>

      Parameters

      • compact: string

      Returns DecodedJws<P>