1 instantiation of ZipData
Microsoft.DotNet.SignTool (1)
src\Configuration.cs (1)
883zipData = new ZipData(zipFileSignInfo, nestedParts.ToImmutableDictionary());
23 references to ZipData
Microsoft.DotNet.SignTool (18)
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 (3)
284if (_batchData.ZipDataMap.TryGetValue(file.FileContentKey, out var zipData)) 307if (_batchData.ZipDataMap.TryGetValue(file.FileContentKey, out var zipData)) 676if (_batchData.ZipDataMap.TryGetValue(file.FileContentKey, out var zipData))
src\Configuration.cs (11)
29private readonly Dictionary<SignedFileContentKey, ZipData> _zipDataMap; 139_zipDataMap = new Dictionary<SignedFileContentKey, ZipData>(); 249if (TryBuildWixData(fileSignInfo, out var msiData)) 260if (TryBuildZipData(fileSignInfo, out var builtZipData)) 276if (_zipDataMap.TryGetValue(fileSignInfo.FileContentKey, out var cachedZipData)) 812/// Build up the <see cref="ZipData"/> instance for a given zip container. This will also report any consistency 815private bool TryBuildZipData(FileSignInfo zipFileSignInfo, out ZipData zipData, string alternativeArchivePath = null) 832foreach (var entry in ZipData.ReadEntries(archivePath, _pathToContainerUnpackingDirectory, _tarToolPath, _pkgToolPath)) 865ZipData.SetUnixFileMode(_log, entry.UnixFileMode, tempPath); 896/// Build up the <see cref="ZipData"/> instance for a given zip container. This will also report any consistency 899private bool TryBuildWixData(FileSignInfo msiFileSignInfo, out ZipData zipData)
src\VerifySignatures.cs (2)
185return ZipData.RunPkgProcess(filePath, null, "verify", pkgToolPath) ? SigningStatus.Signed : SigningStatus.NotSigned; 298var entry = ZipData.ReadDebContainerEntries(debianPackage, entryName).Single();
Microsoft.DotNet.SignTool.Tests (5)
SignToolTests.cs (5)
426ZipData.ExtractTarballContents(fakeLog, dataArchive, dataLayout, skipSymlinks: false); 427ZipData.ExtractTarballContents(fakeLog, controlArchive, controlLayout); 465var entry = ZipData.ReadDebContainerEntries(debianPackage, archiveName).Single(); 485ZipData.ExtractRpmPayloadContents(fakeLog, rpmPackage, layout); 512IReadOnlyList<RpmHeader<RpmHeaderTag>.Entry> headerEntries = ZipData.GetRpmHeaderEntries(rpmPackage);