Files
klz-cables.com/.pnpm-store/v10/files/5f/6baf3115e445e0d67a2eca21c2c8478a1e49b2fe664e8962383af0a89cb454cc80781c66dc2a8ef82886d6eaa3e9443bbc6d5134bb8d4298cac13077a2fd4d
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

31 lines
1.3 KiB
Plaintext

import type { JWK, KeyLike } from '../types';
/**
* Exports a runtime-specific public key representation ({@link !KeyObject} or {@link !CryptoKey}) 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 representation to transform to a PEM-encoded SPKI string format.
*/
export declare function exportSPKI(key: KeyLike): Promise<string>;
/**
* Exports a runtime-specific private key representation ({@link !KeyObject} or {@link !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'`.
*
* @param key Key representation to transform to a PEM-encoded PKCS8 string format.
*/
export declare function exportPKCS8(key: KeyLike): Promise<string>;
/**
* Exports a runtime-specific key representation (KeyLike) 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 representation to export as JWK.
*/
export declare function exportJWK(key: KeyLike | Uint8Array): Promise<JWK>;