import { exportPKCS8 } from "https://deno.land/x/jose@v5.9.6/key/export.ts";
Exports a runtime-specific private key representation (!KeyObject or !CryptoKey) to a PEM-encoded PKCS8 string format.
This function is exported (as a named export) from the main 'jose'
module entry point as well
as from its subpath export 'jose/key/export'
.
Parameters
key: KeyLike
Key representation to transform to a PEM-encoded PKCS8 string format.