1 instantiation of ZipData
Microsoft.DotNet.SignTool (1)
src\Configuration.cs (1)
859
zipData = new
ZipData
(zipFileSignInfo, nestedParts.ToImmutableDictionary());
21 references to ZipData
Microsoft.DotNet.SignTool (16)
src\BatchSignInput.cs (2)
25
internal ImmutableDictionary<SignedFileContentKey,
ZipData
> ZipDataMap;
33
internal BatchSignInput(ImmutableArray<FileSignInfo> filesToSign, ImmutableDictionary<SignedFileContentKey,
ZipData
> zipDataMap, ImmutableArray<KeyValuePair<string, string>> filesToCopy)
src\BatchSignUtil.cs (2)
299
var
zipData = _batchData.ZipDataMap[file.FileContentKey];
669
var
zipData = _batchData.ZipDataMap[file.FileContentKey];
src\Configuration.cs (10)
29
private readonly Dictionary<SignedFileContentKey,
ZipData
> _zipDataMap;
139
_zipDataMap = new Dictionary<SignedFileContentKey,
ZipData
>();
243
if (TryBuildWixData(fileSignInfo, out
var
msiData))
254
if (TryBuildZipData(fileSignInfo, out
var
zipData))
788
/// Build up the <see cref="
ZipData
"/> instance for a given zip container. This will also report any consistency
791
private bool TryBuildZipData(FileSignInfo zipFileSignInfo, out
ZipData
zipData, string alternativeArchivePath = null)
808
foreach (var entry in
ZipData
.ReadEntries(archivePath, _pathToContainerUnpackingDirectory, _tarToolPath, _pkgToolPath))
841
ZipData
.SetUnixFileMode(_log, entry.UnixFileMode, tempPath);
872
/// Build up the <see cref="
ZipData
"/> instance for a given zip container. This will also report any consistency
875
private bool TryBuildWixData(FileSignInfo msiFileSignInfo, out
ZipData
zipData)
src\VerifySignatures.cs (2)
185
return
ZipData
.RunPkgProcess(filePath, null, "verify", pkgToolPath) ? SigningStatus.Signed : SigningStatus.NotSigned;
297
var entry =
ZipData
.ReadDebContainerEntries(debianPackage, entryName).Single();
Microsoft.DotNet.SignTool.Tests (5)
SignToolTests.cs (5)
426
ZipData
.ExtractTarballContents(fakeLog, dataArchive, dataLayout, skipSymlinks: false);
427
ZipData
.ExtractTarballContents(fakeLog, controlArchive, controlLayout);
465
var entry =
ZipData
.ReadDebContainerEntries(debianPackage, archiveName).Single();
485
ZipData
.ExtractRpmPayloadContents(fakeLog, rpmPackage, layout);
512
IReadOnlyList<RpmHeader<RpmHeaderTag>.Entry> headerEntries =
ZipData
.GetRpmHeaderEntries(rpmPackage);