UNPKG

@azure/cosmos

Version:
10 lines 655 B
import type { KeyEncryptionKey } from "../KeyEncryptionKey.js"; import type { ProtectedDataEncryptionKey } from "../EncryptionKey/index.js"; export declare class ProtectedDataEncryptionKeyCache { cacheRefresher: NodeJS.Timeout; constructor(_cacheTimeToLive: number); getOrCreate(_name: string, _keyEncryptionKey: KeyEncryptionKey, _encryptedValue?: Uint8Array, _forceRefresh?: boolean): Promise<ProtectedDataEncryptionKey>; } export declare function randomBytes(_size: number): Promise<string>; export declare function createHmac(_algorithm: string, _key: string): Promise<string>; //# sourceMappingURL=ProtectedDataEncryptionKeyCache.d.ts.map