Files
NapCatQQ/.pnpm-store/v3/files/d4/acbd8903701f3679356b867159995e758356462a0577593802613a737d696ec1baae4eb20137de44e98ba56a0470faec6158a6603bab758d92ad2e4baf9a68
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

12 lines
407 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.importKey = importKey;
const getWebCrypto_js_1 = require("./getWebCrypto.js");
async function importKey(opts) {
const WebCrypto = await (0, getWebCrypto_js_1.getWebCrypto)();
const { keyData, algorithm } = opts;
return WebCrypto.subtle.importKey('jwk', keyData, algorithm, false, [
'verify',
]);
}