/
opt
/
canhelp
/
node_modules
/
jose
/
dist
/
types
/
key
/
/opt/canhelp/node_modules/jose/dist/types/key
mkdir
upload
Name
Size
Mode
Actions
export.d.ts
1343
0644
edit
dl
rm
generate_key_pair.d.ts
1961
0644
edit
dl
rm
generate_secret.d.ts
1410
0644
edit
dl
rm
import.d.ts
3737
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/jose/dist/types/key/export.d.ts
(1343B)
/** * Cryptographic key export functions * * @module */ import type * as types from '../types.d.ts'; /** * Exports a public {@link !CryptoKey} or {@link !KeyObject} to a PEM-encoded SPKI 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'`. * * @param key Key to export to a PEM-encoded SPKI string format. */ export declare function exportSPKI(key: types.CryptoKey | types.KeyObject): Promise<string>; /** * Exports a private {@link !CryptoKey} or {@link !KeyObject} 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'`. * * @param key Key to export to a PEM-encoded PKCS8 string format. */ export declare function exportPKCS8(key: types.CryptoKey | types.KeyObject): Promise<string>; /** * Exports a {@link !CryptoKey}, {@link !KeyObject}, or {@link !Uint8Array} to a JWK. * * 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'`. * * @param key Key to export as JWK. */ export declare function exportJWK(key: types.CryptoKey | types.KeyObject | Uint8Array): Promise<types.JWK>;
Save
cmd:
run