Skip to main content
Module

x/fido2/lib/main.js>PublicKey#toJwk

A node.js library for performing FIDO 2.0 / WebAuthn server functionality
Go to Latest
method PublicKey.prototype.toJwk
import { PublicKey } from "https://deno.land/x/fido2@3.3.4/lib/main.js";

Exports public key to JWK.

  • Only works if original jwk from 'fromJwk()' is available
  • Throws on any kind of failure