@azure/cosmos
Version:
Microsoft Azure Cosmos DB Service Node.js SDK for NOSQL API
10 lines • 655 B
TypeScript
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