1 write to _log
Microsoft.DotNet.SignTool (1)
src\Configuration.cs (1)
130
_log
= log;
31 references to _log
Microsoft.DotNet.SignTool (31)
src\Configuration.cs (31)
186
_log
.LogError("Could not determine certificate name for signable file(s):");
193
_log
.LogError($"\tFile: {erroredFile.FileName}");
198
_log
.LogError($"\t\t{containerName}");
210
_log
.LogMessage($"Tracking file '{file.FullPath}' isNested={isNested}");
237
_log
.LogError($"Failed to build zip data for {fileSignInfo.FullPath}");
242
_log
.LogMessage($"Trying to gather data for wix container {fileSignInfo.FullPath}");
249
_log
.LogError($"Failed to build wix data for {fileSignInfo.FullPath}");
253
_log
.LogMessage(MessageImportance.Low, $"Caching file {fileSignInfo.FileContentKey.FileName} {fileSignInfo.FileContentKey.StringHash}");
312
_log
.LogMessage(MessageImportance.Low, $"Ignoring zero length file: {file.FullPath}");
377
isAlreadyStrongNamed = StrongName.IsSigned(file.FullPath, snPath:_snPath, log:
_log
);
382
_log
.LogMessage(MessageImportance.Low, $"PE file {file.FullPath} does not have a signature marker.");
386
_log
.LogMessage(MessageImportance.Low, $"PE file {file.FullPath} has a signature marker.");
391
_log
.LogMessage(MessageImportance.Low, $"PE file {file.FullPath} does not have a valid strong name signature.");
395
_log
.LogMessage(MessageImportance.Low, $"PE file {file.FullPath} has a valid strong name signature.");
445
isAlreadyAuthenticodeSigned = VerifySignatures.IsSignedContainer(
_log
, file.FullPath, _pathToContainerUnpackingDirectory, _tarToolPath, _pkgToolPath);
448
_log
.LogMessage(MessageImportance.Low, $"Container {file.FullPath} does not have a signature marker.");
452
_log
.LogMessage(MessageImportance.Low, $"Container {file.FullPath} has a signature marker.");
460
_log
.LogMessage(MessageImportance.Low, $"File {file.FullPath} is not digitally signed.");
464
_log
.LogMessage(MessageImportance.Low, $"File {file.FullPath} is digitally signed.");
469
isAlreadyAuthenticodeSigned = VerifySignatures.VerifySignedDeb(
_log
, file.FullPath);
472
_log
.LogMessage(MessageImportance.Low, $"File {file.FullPath} is not signed.");
476
_log
.LogMessage(MessageImportance.Low, $"File {file.FullPath} is signed.");
484
_log
.LogMessage(MessageImportance.Low, $"File {file.FullPath} does not have a signature block.");
488
_log
.LogMessage(MessageImportance.Low, $"File {file.FullPath} has a signature block.");
502
_log
.LogMessage(MessageImportance.Low, $"File configured to not be signed: {file.FullPath}{fileSpec}");
572
_log
.LogMessage(MessageImportance.High, $"{code.ToString()}: {warning}");
587
_log
.LogMessage(MessageImportance.Low, $"Ignoring non-signable file: {file.FullPath}");
594
=>
_log
.LogWarning(subcategory: null, warningCode: code.ToString(), helpKeyword: null, file: null, lineNumber: 0, columnNumber: 0, endLineNumber: 0, endColumnNumber: 0, message: message);
756
foreach (var (relativePath, contentStream, contentSize) in ZipData.ReadEntries(
_log
, archivePath, _pathToContainerUnpackingDirectory, _tarToolPath, _pkgToolPath))
785
_log
.LogMessage($"Extracting file '{fileName}' from '{archivePath}' to '{tempPath}'.");
812
_log
.LogErrorFromException(e, true);