1 write to FileContentKey
Microsoft.DotNet.SignTool (1)
src\FileSignInfo.cs (1)
118
FileContentKey
= new SignedFileContentKey(File.ContentHash, File.FileName);
15 references to FileContentKey
Microsoft.DotNet.SignTool (15)
src\BatchSignUtil.cs (7)
137
if(_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);
301
var zipData = _batchData.ZipDataMap[file.
FileContentKey
];
303
trackedSet.Contains(x.FileSignInfo.
FileContentKey
)) && !toRepackSet.Contains(x.FileSignInfo.FullPath)
388
trackList.ForEach(x => trackedSet.Add(x.
FileContentKey
));
585
var zipData = _batchData.ZipDataMap[file.
FileContentKey
];
src\Configuration.cs (8)
209
if (_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);
245
hasSignableParts = _zipDataMap[fileSignInfo.
FileContentKey
].NestedParts.Values.Any(b => b.FileSignInfo.SignInfo.ShouldSign || b.FileSignInfo.HasSignableParts);
250
_filesByContentKey[fileSignInfo.
FileContentKey
] = fileSignInfo;