1 write to FileContentKey
Microsoft.DotNet.SignTool (1)
src\FileSignInfo.cs (1)
138
FileContentKey
= new SignedFileContentKey(File.ContentHash, File.FileName);
14 references to FileContentKey
Microsoft.DotNet.SignTool (14)
src\BatchSignUtil.cs (6)
139
if(_hashToCollisionIdMap.TryGetValue(file.
FileContentKey
, out string collisionPriorityId) &&
285
_batchData.ZipDataMap[file.
FileContentKey
].Repack(_log, _signTool.TempDir, _signTool.WixToolsPath, _signTool.TarToolPath, _signTool.PkgToolPath);
299
var zipData = _batchData.ZipDataMap[file.
FileContentKey
];
301
trackedSet.Contains(x.FileSignInfo.
FileContentKey
)) && !toRepackSet.Contains(x.FileSignInfo.FullPath)
386
trackList.ForEach(x => trackedSet.Add(x.
FileContentKey
));
634
var zipData = _batchData.ZipDataMap[file.
FileContentKey
];
src\Configuration.cs (8)
213
if (_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);
257
hasSignableParts = _zipDataMap[fileSignInfo.
FileContentKey
].NestedParts.Values.Any(b => b.FileSignInfo.SignInfo.ShouldSign || b.FileSignInfo.HasSignableParts);
262
_filesByContentKey[fileSignInfo.
FileContentKey
] = fileSignInfo;