import { exportPKCS8 } from "https://deno.land/x/jose@v5.2.0/key/export.ts";
Exports a runtime-specific private key representation (KeyObject or CryptoKey) to a PEM-encoded PKCS8 string format.
Parameters
key: KeyLike
Key representation to transform to a PEM-encoded PKCS8 string format.