function getPublicKeys
getPublicKeys(): Promise<JSONWebKeySet>

Returns the public halves of every stored key, for GET /.well-known/jwks.json. It makes the first key when there is none, so that the set is never empty.

Return Type

Promise<JSONWebKeySet>

Usage

import { getPublicKeys } from "api/services/instance-key-service.ts";