import { type KeyRing } from "https://deno.land/x/acorn@0.5.1/types.ts";
An abstract interface for cryptographic key rings that can be used to sign cookies.
The Deno std library KeyStack is an example of an implementation.
Methods
sign(data: SigningData): Promise<string>
verify(data: SigningData, digest: string): Promise<boolean>
indexOf(data: SigningData, digest: string): Promise<number>