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