1 write to FileContentKey
Microsoft.DotNet.SignTool (1)
src\FileSignInfo.cs (1)
138FileContentKey = new SignedFileContentKey(File.ContentHash, File.FileName);
14 references to FileContentKey
Microsoft.DotNet.SignTool (14)
src\BatchSignUtil.cs (6)
139if(_hashToCollisionIdMap.TryGetValue(file.FileContentKey, out string collisionPriorityId) && 285_batchData.ZipDataMap[file.FileContentKey].Repack(_log, _signTool.TempDir, _signTool.WixToolsPath, _signTool.TarToolPath, _signTool.PkgToolPath); 299var zipData = _batchData.ZipDataMap[file.FileContentKey]; 301trackedSet.Contains(x.FileSignInfo.FileContentKey)) && !toRepackSet.Contains(x.FileSignInfo.FullPath) 386trackList.ForEach(x => trackedSet.Add(x.FileContentKey)); 634var zipData = _batchData.ZipDataMap[file.FileContentKey];
src\Configuration.cs (8)
213if (_filesByContentKey.TryGetValue(fileSignInfo.FileContentKey, out var existingSignInfo)) 230_zipDataMap[fileSignInfo.FileContentKey] = msiData; 241_zipDataMap[fileSignInfo.FileContentKey] = zipData; 249_log.LogMessage(MessageImportance.Low, $"Caching file {fileSignInfo.FileContentKey.FileName} {fileSignInfo.FileContentKey.StringHash}"); 250_filesByContentKey.Add(fileSignInfo.FileContentKey, fileSignInfo); 257hasSignableParts = _zipDataMap[fileSignInfo.FileContentKey].NestedParts.Values.Any(b => b.FileSignInfo.SignInfo.ShouldSign || b.FileSignInfo.HasSignableParts); 262_filesByContentKey[fileSignInfo.FileContentKey] = fileSignInfo;