UNPKG

@credo-ts/core

Version:

<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1

29 lines (28 loc) • 1.04 kB
import { KeyManagementService } from "./KeyManagementService.mjs"; //#region src/modules/kms/KeyManagementModuleConfig.d.ts interface KeyManagementModuleConfigOptions { /** * The backends to use for key management and cryptographic operations. */ backends?: KeyManagementService[]; /** * The default backend to use, indicated by the `backend` property * on the `KeyManagementService` instance. * * If provided and it doesn't match an entry in the `backends` array * an error will be thrown. * * If not provided, the first backend from the `backends` array will be used. */ defaultBackend?: string; } declare class KeyManagementModuleConfig { #private; constructor(options: KeyManagementModuleConfigOptions); get backends(): KeyManagementService[]; registerBackend(backend: KeyManagementService): void; get defaultBackend(): KeyManagementService; } //#endregion export { KeyManagementModuleConfig, KeyManagementModuleConfigOptions }; //# sourceMappingURL=KeyManagementModuleConfig.d.mts.map