Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/faster/vendor/jose/index.ts>JoseHeaderParameters

A fast and optimized middleware server with an absurdly small amount of code (300 lines) built on top of Deno's native HTTP APIs with no dependencies. It also has a collection of useful middlewares: log file, serve static, CORS, session, rate limit, token, body parsers, redirect, proxy and handle upload. Fully compatible with Deno Deploy.
Latest
interface JoseHeaderParameters
import { type JoseHeaderParameters } from "https://deno.land/x/faster@v11.7/vendor/jose/index.ts";

Properties

optional
kid: string

"kid" (Key ID) Header Parameter

optional
x5t: string

"x5t" (X.509 Certificate SHA-1 Thumbprint) Header Parameter

optional
x5c: string[]

"x5c" (X.509 Certificate Chain) Header Parameter

optional
x5u: string

"x5u" (X.509 URL) Header Parameter

optional
jku: string

"jku" (JWK Set URL) Header Parameter

optional
jwk: Pick<JWK,
| "kty"
| "crv"
| "x"
| "y"
| "e"
| "n"
>

"jwk" (JSON Web Key) Header Parameter

optional
typ: string

"typ" (Type) Header Parameter

optional
cty: string

"cty" (Content Type) Header Parameter