File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Examples/runtimes/net/src/keyring Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,17 +87,17 @@ public static async Task SharedCacheAcrossHierarchicalKeyringsGetItemPutItem(Str
87
87
var logicalKeyStoreName = TestUtils . TEST_LOGICAL_KEYSTORE_NAME ;
88
88
var partitionId = TestUtils . TEST_PARTITION_ID ;
89
89
var kmsKeyId = TestUtils . TEST_KEYSTORE_KMS_KEY_ID ;
90
-
90
+
91
91
// 1. Create the CryptographicMaterialsCache (CMC) to share across multiple Hierarchical Keyrings
92
92
// using the Material Providers Library
93
93
// This CMC takes in:
94
94
// - CacheType
95
95
var materialProviders = new MaterialProviders ( new MaterialProvidersConfig ( ) ) ;
96
96
97
- var cache = new CacheType { Default = new DefaultCache { EntryCapacity = 100 } } ;
97
+ var cache = new CacheType { Default = new DefaultCache { EntryCapacity = 100 } } ;
98
+
99
+ var cryptographicMaterialsCacheInput = new CreateCryptographicMaterialsCacheInput { Cache = cache } ;
98
100
99
- var cryptographicMaterialsCacheInput = new CreateCryptographicMaterialsCacheInput { Cache = cache } ;
100
-
101
101
var sharedCryptographicMaterialsCache = materialProviders . CreateCryptographicMaterialsCache ( cryptographicMaterialsCacheInput ) ;
102
102
103
103
// 2. Create a CacheType object for the sharedCryptographicMaterialsCache
You can’t perform that action at this time.
0 commit comments