修改后台权限
This commit is contained in:
11
node_modules/jose/dist/webapi/key/export.js
generated
vendored
Normal file
11
node_modules/jose/dist/webapi/key/export.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { toSPKI as exportPublic, toPKCS8 as exportPrivate } from '../lib/asn1.js';
|
||||
import { keyToJWK } from '../lib/key_to_jwk.js';
|
||||
export async function exportSPKI(key) {
|
||||
return exportPublic(key);
|
||||
}
|
||||
export async function exportPKCS8(key) {
|
||||
return exportPrivate(key);
|
||||
}
|
||||
export async function exportJWK(key) {
|
||||
return keyToJWK(key);
|
||||
}
|
||||
Reference in New Issue
Block a user