1 write to FileSignInfo
Microsoft.DotNet.SignTool (1)
src\ZipData.cs (1)
40FileSignInfo = fileSignInfo;
41 references to FileSignInfo
Microsoft.DotNet.SignTool (41)
src\ZipData.cs (41)
101if (FileSignInfo.IsVsix()) 105else if (FileSignInfo.IsTarGZip()) 109else if (FileSignInfo.IsUnpackableWixContainer()) 113else if (FileSignInfo.IsPkg() || FileSignInfo.IsAppBundle()) 117else if (FileSignInfo.IsDeb()) 121else if (FileSignInfo.IsRpm()) 152using (var package = Package.Open(FileSignInfo.FullPath, FileMode.Open, FileAccess.ReadWrite)) 160log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 167log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativeName}."); 192using (var zipStream = File.Open(FileSignInfo.FullPath, FileMode.Open)) 201log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 208log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativeName}."); 231string outputFileName = Path.Combine(outputDir, FileSignInfo.FileName); 236ZipFile.ExtractToDirectory(FileSignInfo.WixContentFilePath, workingDir); 245log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 258log.LogError($"Packaging of wix file '{FileSignInfo.FullPath}' failed"); 268log.LogMessage($"Created wix file {outputFileName}, replacing '{FileSignInfo.FullPath}' with '{outputFileName}'"); 269File.Copy(outputFileName, FileSignInfo.FullPath, true); 350if (!RunPkgProcess(srcPath: FileSignInfo.FullPath, dstPath: extractDir, "unpack", pkgToolPath)) 369log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativePath}"); 376log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativePath} (perms: {Convert.ToString((uint)extractedFileMode, 8)})."); 381if (!RunPkgProcess(srcPath: extractDir, dstPath: FileSignInfo.FullPath, "pack", pkgToolPath)) 408foreach (TarEntry entry in ReadTarGZipEntries(FileSignInfo.FullPath)) 421log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativeName} (perms: {Convert.ToString((uint)entry.Mode, 8)})."); 425log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 433using (FileStream outputStream = File.Open(FileSignInfo.FullPath, FileMode.Truncate, FileAccess.Write)) 494if (!RunExternalProcess(log, "tar", $"-xzf \"{FileSignInfo.FullPath}\" -C \"{extractDir}\"", out _)) 496log.LogError($"Failed to extract tar archive: {FileSignInfo.FullPath}"); 507$"Symbolic link detected in tar archive '{FileSignInfo.FullPath}': '{path}'. " + 516log.LogMessage(MessageImportance.Low, $"Copying signed file from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativePath}"); 522if (!RunExternalProcess(log, "tar", $"-czf \"{FileSignInfo.FullPath}\" -C \"{extractDir}\" .", out _)) 524log.LogError($"Failed to create tar archive: {FileSignInfo.FullPath}"); 559controlArchive = GetUpdatedControlArchive(log, FileSignInfo.FullPath, dataArchive, tempDir); 569OutputDebPackagePath = FileSignInfo.FullPath, 576log.LogError($"Failed to create new DEB package: {FileSignInfo.FileName}"); 619throw new Exception($"Failed to create MD5 checksums file for: {FileSignInfo.FileName}"); 773ExtractRpmPayloadContents(log, FileSignInfo.FullPath, layout); 793IReadOnlyList<RpmHeader<RpmHeaderTag>.Entry> headerEntries = GetRpmHeaderEntries(FileSignInfo.FullPath); 815OutputRpmPackagePath = FileSignInfo.FullPath, 838throw new Exception($"Failed to create RPM package: {FileSignInfo.FileName}");