6 instantiations of SignedFileContentKey
Microsoft.DotNet.SignTool (6)
src\BatchSignUtil.cs (1)
179var fileUniqueKey = new SignedFileContentKey(file.ContentHash, engineFileName);
src\Configuration.cs (4)
149var fileUniqueKey = new SignedFileContentKey(contentHash, Path.GetFileName(fullPath)); 289SignedFileContentKey signedFileContentKey = new SignedFileContentKey(file.ContentHash, file.FileName); 314new SignedFileContentKey(parentContainer.ContentHash, parentContainer.FileName); 710var fileUniqueKey = new SignedFileContentKey(contentHash, Path.GetFileName(relativePath));
src\FileSignInfo.cs (1)
118FileContentKey = new SignedFileContentKey(File.ContentHash, File.FileName);
35 references to SignedFileContentKey
Microsoft.DotNet.SignTool (35)
src\BatchSignInput.cs (2)
25internal ImmutableDictionary<SignedFileContentKey, ZipData> ZipDataMap; 33internal BatchSignInput(ImmutableArray<FileSignInfo> filesToSign, ImmutableDictionary<SignedFileContentKey, ZipData> zipDataMap, ImmutableArray<KeyValuePair<string, string>> filesToCopy)
src\BatchSignUtil.cs (6)
25private readonly Dictionary<SignedFileContentKey, string> _hashToCollisionIdMap; 37Dictionary<SignedFileContentKey, string> hashToCollisionIdMap, 121var trackedSet = new HashSet<SignedFileContentKey>(); 164Dictionary<SignedFileContentKey, FileSignInfo> engines = new Dictionary<SignedFileContentKey, FileSignInfo>(); 179var fileUniqueKey = new SignedFileContentKey(file.ContentHash, engineFileName);
src\Configuration.cs (17)
29private readonly Dictionary<SignedFileContentKey, ZipData> _zipDataMap; 63private readonly Dictionary<SignedFileContentKey, FileSignInfo> _filesByContentKey; 68private readonly Dictionary<SignedFileContentKey, HashSet<string>> _whichPackagesTheFileIsIn; 73private readonly Dictionary<SigningToolErrorCode, HashSet<SignedFileContentKey>> _errors; 97internal Dictionary<SignedFileContentKey, string> _hashToCollisionIdMap; 129_zipDataMap = new Dictionary<SignedFileContentKey, ZipData>(); 130_filesByContentKey = new Dictionary<SignedFileContentKey, FileSignInfo>(); 133_whichPackagesTheFileIsIn = new Dictionary<SignedFileContentKey, HashSet<string>>(); 134_errors = new Dictionary<SigningToolErrorCode, HashSet<SignedFileContentKey>>(); 136_hashToCollisionIdMap = new Dictionary<SignedFileContentKey, string>(); 149var fileUniqueKey = new SignedFileContentKey(contentHash, Path.GetFileName(fullPath)); 183foreach (var erroredFile in errorGroup.Value) 289SignedFileContentKey signedFileContentKey = new SignedFileContentKey(file.ContentHash, file.FileName); 313SignedFileContentKey parentSignedFileContentKey = 538private void LogError(SigningToolErrorCode code, SignedFileContentKey targetFile) 542filesErrored = new HashSet<SignedFileContentKey>(); 710var fileUniqueKey = new SignedFileContentKey(contentHash, Path.GetFileName(relativePath));
src\FileSignInfo.cs (1)
13internal readonly SignedFileContentKey FileContentKey;
src\PathWithHash.cs (1)
13/// This contrasts with <seealso cref="SignedFileContentKey"/>, which represents
src\SignedFileContentKey.cs (8)
19internal struct SignedFileContentKey : IEquatable<SignedFileContentKey> 42=> obj is SignedFileContentKey key && Equals(key); 47bool IEquatable<SignedFileContentKey>.Equals(SignedFileContentKey other) 50public static bool operator ==(SignedFileContentKey key1, SignedFileContentKey key2) 53public static bool operator !=(SignedFileContentKey key1, SignedFileContentKey key2)