/** * Built-in PASETO and PASERK v4.local capability factories backed by standard runtime APIs. * * @module v4/local * @category Local Implementations * @categoryDescription Key Management * The local key type and factories for generating, importing, and exporting local keys. * * @categoryDescription Key Wrapping * The wrapping key type and its generation, import, and export factories. */ import { LocalExportKey, LocalExportWrappingKey, LocalGenerateKey, LocalGenerateWrappingKey, LocalImportKey, LocalImportWrappingKey, type Key } from 'paseto'; /** * Key used by the built-in v4.local implementations. * * @category Key Management */ export interface LocalKey extends Key { readonly algorithm: { readonly name: 'PASETO v4.local'; }; readonly type: 'secret'; readonly version: 4; readonly kind: 'local'; } /** * Wrapping key handled by the built-in k4 lifecycle capabilities. * * @category Key Wrapping */ export interface WrappingKey extends Key { readonly algorithm: { readonly name: 'PASERK k4.wrap'; }; readonly type: 'secret'; readonly version: 4; readonly kind: 'wrapping'; } /** * Built-in v4.local symmetric-key generation capability factory. * * @category Key Management */ export declare const GenerateKeyFactory: ReturnType>; /** * Built-in PASERK k4.local key-import capability factory. * * @category Key Management */ export declare const ImportKeyFactory: ReturnType>; /** * Built-in PASERK k4.local key-export capability factory. * * @category Key Management */ export declare const ExportKeyFactory: ReturnType>; /** * Built-in PASERK k4 wrapping-key generation capability factory. * * @category Key Wrapping */ export declare const GenerateWrappingKeyFactory: ReturnType>; /** * Built-in PASERK k4 wrapping-key import capability factory. * * @category Key Wrapping */ export declare const ImportWrappingKeyFactory: ReturnType>; /** * Built-in PASERK k4 wrapping-key export capability factory. * * @category Key Wrapping */ export declare const ExportWrappingKeyFactory: ReturnType>; //# sourceMappingURL=local.d.ts.map