1 write to FileContentKey
Microsoft.DotNet.SignTool (1)
src\FileSignInfo.cs (1)
118FileContentKey = new SignedFileContentKey(File.ContentHash, File.FileName);
15 references to FileContentKey
Microsoft.DotNet.SignTool (15)
src\BatchSignUtil.cs (7)
137if(_hashToCollisionIdMap.TryGetValue(file.FileContentKey, out string collisionPriorityId)) 282_batchData.ZipDataMap[file.FileContentKey].Repack(_log, _signTool.TempDir, _signTool.WixToolsPath, _signTool.TarToolPath); 287_batchData.ZipDataMap[file.FileContentKey].Repack(_log, _signTool.TempDir, _signTool.WixToolsPath, _signTool.TarToolPath); 301var zipData = _batchData.ZipDataMap[file.FileContentKey]; 303trackedSet.Contains(x.FileSignInfo.FileContentKey)) && !toRepackSet.Contains(x.FileSignInfo.FullPath) 388trackList.ForEach(x => trackedSet.Add(x.FileContentKey)); 585var zipData = _batchData.ZipDataMap[file.FileContentKey];
src\Configuration.cs (8)
209if (_filesByContentKey.TryGetValue(fileSignInfo.FileContentKey, out var existingSignInfo)) 225_zipDataMap[fileSignInfo.FileContentKey] = zipData; 233_zipDataMap[fileSignInfo.FileContentKey] = msiData; 237_log.LogMessage(MessageImportance.Low, $"Caching file {fileSignInfo.FileContentKey.FileName} {fileSignInfo.FileContentKey.StringHash}"); 238_filesByContentKey.Add(fileSignInfo.FileContentKey, fileSignInfo); 245hasSignableParts = _zipDataMap[fileSignInfo.FileContentKey].NestedParts.Values.Any(b => b.FileSignInfo.SignInfo.ShouldSign || b.FileSignInfo.HasSignableParts); 250_filesByContentKey[fileSignInfo.FileContentKey] = fileSignInfo;