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