type · Browser and Node
KeyLookup
Finds the keys that may have signed: for a device, its current key and, around a rotation, the previous one.
@toip-tools/coseView sourceimport { type KeyLookup } from "@toip-tools/cose";
Declaration
type KeyLookup = (kid: Uint8Array | undefined, alg: CoseAlg) => Promise<PublicKey[]>;