private void GetSecretLocalMachineCache() { var secretCache = new Lazy <ISecureBlobCache>(() => { _filesystemProvider.CreateRecursive(_filesystemProvider.GetDefaultSecretCacheDirectory()).SubscribeOn(BlobCache.TaskpoolScheduler).Wait(); return(new SQLiteEncryptedBlobCache(Path.Combine(_filesystemProvider.GetDefaultSecretCacheDirectory(), "secret.db"), new PlatformCustomAkavacheEncryptionProvider(), BlobCache.TaskpoolScheduler)); }); this.SecretLocalMachineCache = secretCache.Value; }
public string GetDefaultSecretCacheDirectory() { return(_inner.GetDefaultSecretCacheDirectory()); }