Spaces:
Sleeping
Sleeping
File size: 345 Bytes
6491ad4 | 1 2 3 4 5 6 7 8 9 10 11 12 | 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);
}
|