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

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

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

Import public key from SPKI PEM. Throws on any type of failure.

Parameters

pem
  • PEM formatted string
hashName