1 instantiation of ZipData
Microsoft.DotNet.SignTool (1)
src\Configuration.cs (1)
859zipData = new ZipData(zipFileSignInfo, nestedParts.ToImmutableDictionary());
21 references to ZipData
Microsoft.DotNet.SignTool (16)
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 (2)
299var zipData = _batchData.ZipDataMap[file.FileContentKey]; 669var zipData = _batchData.ZipDataMap[file.FileContentKey];
src\Configuration.cs (10)
29private readonly Dictionary<SignedFileContentKey, ZipData> _zipDataMap; 139_zipDataMap = new Dictionary<SignedFileContentKey, ZipData>(); 243if (TryBuildWixData(fileSignInfo, out var msiData)) 254if (TryBuildZipData(fileSignInfo, out var zipData)) 788/// Build up the <see cref="ZipData"/> instance for a given zip container. This will also report any consistency 791private bool TryBuildZipData(FileSignInfo zipFileSignInfo, out ZipData zipData, string alternativeArchivePath = null) 808foreach (var entry in ZipData.ReadEntries(archivePath, _pathToContainerUnpackingDirectory, _tarToolPath, _pkgToolPath)) 841ZipData.SetUnixFileMode(_log, entry.UnixFileMode, tempPath); 872/// Build up the <see cref="ZipData"/> instance for a given zip container. This will also report any consistency 875private bool TryBuildWixData(FileSignInfo msiFileSignInfo, out ZipData zipData)
src\VerifySignatures.cs (2)
185return ZipData.RunPkgProcess(filePath, null, "verify", pkgToolPath) ? SigningStatus.Signed : SigningStatus.NotSigned; 297var 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);