1 write to Certificate
Microsoft.DotNet.SignTool (1)
src\SignInfo.cs (1)
53
Certificate
= certificate;
17 references to Certificate
Microsoft.DotNet.SignTool (17)
src\BatchSignUtil.cs (5)
474
bool isVsixCert = (!string.IsNullOrEmpty(fileName.SignInfo.
Certificate
) && IsVsixCertificate(fileName.SignInfo.
Certificate
)) ||
477
bool isInvalidEmptyCertificate = fileName.SignInfo.
Certificate
== null && !fileName.HasSignableParts && !fileName.SignInfo.IsAlreadySigned;
512
if (fileName.SignInfo.
Certificate
!= null)
514
log.LogError($"Zip {fileName} should not be signed with this certificate: {fileName.SignInfo.
Certificate
}");
src\Configuration.cs (5)
376
signInfo = new SignInfo(pktBasedSignInfo.
Certificate
, collisionPriorityId: _hashToCollisionIdMap[signedFileContentKey]);
458
.Where(d => d.ItemSpec == signInfo.
Certificate
&&
470
bool isMicrosoftCertificate = !IsThirdPartyCertificate(signInfo.
Certificate
);
478
warning = $"Signing Microsoft library '{file.FullPath}' with 3rd party certificate '{signInfo.
Certificate
}'. The library is considered Microsoft library due to its copyright: '{peInfo.Copyright}'.";
483
warning = $"Signing 3rd party library '{file.FullPath}' with Microsoft certificate '{signInfo.
Certificate
}'. The library is considered 3rd party library due to its copyright: '{peInfo.Copyright}'.";
src\FileSignInfo.cs (1)
123
$" Certificate='{SignInfo.
Certificate
}'" +
src\SignInfo.cs (4)
72
=> new SignInfo(
Certificate
, StrongName, collisionPriorityId, ShouldIgnore, IsAlreadySigned);
75
=>
Certificate
!= null ?
76
new SignInfo(
Certificate
, StrongName, CollisionPriorityId, value, value) :
77
new SignInfo(
Certificate
, StrongName, CollisionPriorityId, true, value);
src\SignTool.cs (2)
75
var filesGroupedByCertificate = osxFilesToSign.GroupBy(fsi => fsi.SignInfo.
Certificate
);
130
AppendLine(builder, depth: 3, text: $@"<Authenticode>{fileToSign.SignInfo.
Certificate
}</Authenticode>");