1 write to FileSignInfo
Microsoft.DotNet.SignTool (1)
src\ZipData.cs (1)
44
FileSignInfo
= fileSignInfo;
36 references to FileSignInfo
Microsoft.DotNet.SignTool (36)
src\ZipData.cs (36)
125
if (
FileSignInfo
.IsTarGZip())
129
else if (
FileSignInfo
.IsUnpackableWixContainer())
133
else if (
FileSignInfo
.IsPkg() ||
FileSignInfo
.IsAppBundle())
137
else if (
FileSignInfo
.IsDeb())
145
else if (
FileSignInfo
.IsRpm())
222
using (var zipStream = File.Open(
FileSignInfo
.FullPath, FileMode.Open))
231
log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {
FileSignInfo
.FullPath} -> {relativeName}");
238
log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {
FileSignInfo
.FullPath} -> {relativeName}.");
261
string outputFileName = Path.Combine(outputDir,
FileSignInfo
.FileName);
266
ZipFile.ExtractToDirectory(
FileSignInfo
.WixContentFilePath, workingDir);
275
log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {
FileSignInfo
.FullPath} -> {relativeName}");
288
log.LogError($"Packaging of wix file '{
FileSignInfo
.FullPath}' failed");
298
log.LogMessage($"Created wix file {outputFileName}, replacing '{
FileSignInfo
.FullPath}' with '{outputFileName}'");
299
File.Copy(outputFileName,
FileSignInfo
.FullPath, true);
387
if (!RunPkgProcess(srcPath:
FileSignInfo
.FullPath, dstPath: extractDir, "unpack", pkgToolPath))
406
log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {
FileSignInfo
.FullPath} -> {relativePath}");
413
log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {
FileSignInfo
.FullPath} -> {relativePath} (perms: {Convert.ToString((uint)extractedFileMode, 8)}).");
418
if (!RunPkgProcess(srcPath: extractDir, dstPath:
FileSignInfo
.FullPath, "pack", pkgToolPath))
525
foreach (TarEntry entry in ReadTarGZipEntries(
FileSignInfo
.FullPath))
538
log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {
FileSignInfo
.FullPath} -> {relativeName} (perms: {Convert.ToString((uint)entry.Mode, 8)}).");
542
log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {
FileSignInfo
.FullPath} -> {relativeName}");
550
using (FileStream outputStream = File.Open(
FileSignInfo
.FullPath, FileMode.Truncate, FileAccess.Write))
603
if (!RunExternalProcess(log, "tar", $"-xzf \"{
FileSignInfo
.FullPath}\" -C \"{extractDir}\"", out _))
605
log.LogError($"Failed to extract tar archive: {
FileSignInfo
.FullPath}");
617
log.LogMessage(MessageImportance.Low, $"Copying signed file from {signedPart.Value.FileSignInfo.FullPath} to {
FileSignInfo
.FullPath} -> {relativePath}");
623
if (!RunExternalProcess(log, "tar", $"-czf \"{
FileSignInfo
.FullPath}\" -C \"{extractDir}\" .", out _))
625
log.LogError($"Failed to create tar archive: {
FileSignInfo
.FullPath}");
660
controlArchive = GetUpdatedControlArchive(log,
FileSignInfo
.FullPath, dataArchive, tempDir);
670
OutputDebPackagePath =
FileSignInfo
.FullPath,
677
log.LogError($"Failed to create new DEB package: {
FileSignInfo
.FileName}");
720
throw new Exception($"Failed to create MD5 checksums file for: {
FileSignInfo
.FileName}");
867
ExtractRpmPayloadContents(log,
FileSignInfo
.FullPath, layout);
887
IReadOnlyList<RpmHeader<RpmHeaderTag>.Entry> headerEntries = GetRpmHeaderEntries(
FileSignInfo
.FullPath);
909
OutputRpmPackagePath =
FileSignInfo
.FullPath,
932
throw new Exception($"Failed to create RPM package: {
FileSignInfo
.FileName}");