1 write to FileSignInfo
Microsoft.DotNet.SignTool (1)
src\ZipData.cs (1)
43FileSignInfo = fileSignInfo;
31 references to FileSignInfo
Microsoft.DotNet.SignTool (31)
src\ZipData.cs (31)
115if (FileSignInfo.IsTarGZip()) 119else if (FileSignInfo.IsUnpackableWixContainer()) 123else if (FileSignInfo.IsPkg() || FileSignInfo.IsAppBundle()) 127else if (FileSignInfo.IsDeb()) 135else if (FileSignInfo.IsRpm()) 212using (var zipStream = File.Open(FileSignInfo.FullPath, FileMode.Open)) 221log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 228log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativeName}."); 251string outputFileName = Path.Combine(outputDir, FileSignInfo.FileName); 256ZipFile.ExtractToDirectory(FileSignInfo.WixContentFilePath, workingDir); 265log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 278log.LogError($"Packaging of wix file '{FileSignInfo.FullPath}' failed"); 288log.LogMessage($"Created wix file {outputFileName}, replacing '{FileSignInfo.FullPath}' with '{outputFileName}'"); 289File.Copy(outputFileName, FileSignInfo.FullPath, true); 368if (!RunPkgProcess(srcPath: FileSignInfo.FullPath, dstPath: extractDir, "unpack", pkgToolPath)) 380log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativePath}"); 387log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativePath} (perms: {Convert.ToString((uint)extractedFileMode, 8)})."); 392if (!RunPkgProcess(srcPath: extractDir, dstPath: FileSignInfo.FullPath, "pack", pkgToolPath)) 491foreach (TarEntry entry in ReadTarGZipEntries(FileSignInfo.FullPath)) 504log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativeName} (perms: {Convert.ToString((uint)entry.Mode, 8)})."); 508log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 516using (FileStream outputStream = File.Open(FileSignInfo.FullPath, FileMode.Truncate, FileAccess.Write)) 545controlArchive = GetUpdatedControlArchive(log, FileSignInfo.FullPath, dataArchive, tempDir); 555OutputDebPackagePath = FileSignInfo.FullPath, 562log.LogError($"Failed to create new DEB package: {FileSignInfo.FileName}"); 605throw new Exception($"Failed to create MD5 checksums file for: {FileSignInfo.FileName}"); 722ExtractRpmPayloadContents(log, FileSignInfo.FullPath, layout); 742IReadOnlyList<RpmHeader<RpmHeaderTag>.Entry> headerEntries = GetRpmHeaderEntries(FileSignInfo.FullPath); 764OutputRpmPackagePath = FileSignInfo.FullPath, 787throw new Exception($"Failed to create RPM package: {FileSignInfo.FileName}");