import { CompactSign } from "https://deno.land/x/jose@v5.6.3/index.ts";
The CompactSign class is used to build and sign Compact JWS strings.
Methods
setProtectedHeader(protectedHeader: CompactJWSHeaderParameters): this
Sets the JWS Protected Header on the Sign object.
sign(key: KeyLike | Uint8Array, options?: SignOptions): Promise<string>
Signs and resolves the value of the Compact JWS string.