98 references to ItemToSign
Microsoft.DotNet.SignTool (1)
src\SignToolTask.cs (1)
259var itemsToSign = ItemsToSign.Select(i => new ItemToSign(i.ItemSpec, i.GetMetadata(SignToolConstants.CollisionPriorityId))).OrderBy(i => i.CollisionPriorityId).ToList();
Microsoft.DotNet.SignTool.Tests (97)
SignToolTests.cs (97)
591new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg"), "") 626new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg")) 658new ItemToSign(GetResourcePath("SignedLibrary.dll")), 659new ItemToSign(GetResourcePath("StrongNamedWithEcmaKey.dll")) 680new ItemToSign(GetResourcePath("DelaySigned.dll")) 704new ItemToSign(GetResourcePath("Crossgenned.exe")) 728new ItemToSign(GetResourcePath("OpenSigned.dll")) 756new ItemToSign(GetResourcePath(fileToTest), "123") 789new ItemToSign(GetResourcePath(GetResourcePath("ContainerOne.1.0.0.nupkg"))) 831new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg"), "123") 871new ItemToSign(GetResourcePath("EmptyPKT.dll")) 898new ItemToSign(GetResourcePath("CoreLibCrossARM.dll"), "123"), 899new ItemToSign(GetResourcePath("AspNetCoreCrossLib.dll"), "123") 938new ItemToSign(GetResourcePath("EmptyPKT.dll"), "123") 960new ItemToSign(GetResourcePath("CustomTargetFrameworkAttribute.dll"), "123") 985new ItemToSign(GetResourcePath("EmptyPKT.dll")) 1007new ItemToSign(GetResourcePath("EmptyPKT.dll")) 1027new ItemToSign(GetResourcePath("PackageWithWix.nupkg"), "123"), 1028new ItemToSign(GetResourcePath("MsiBootstrapper.exe.wixpack.zip"), "123") 1079new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), "123") 1157new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), "123") 1240new ItemToSign(GetResourcePath("test.zip")) 1292new ItemToSign(GetResourcePath("test.zip")), 1293new ItemToSign(GetResourcePath("test.tgz")), 1294new ItemToSign(GetResourcePath("NestedZip.zip")), 1295new ItemToSign(GetResourcePath("InnerZipFile.zip")) 1383new ItemToSign(GetResourcePath("test.pkg")) 1417new ItemToSign(GetResourcePath("test.pkg")) 1474new ItemToSign(GetResourcePath("test.pkg")) 1550new ItemToSign( GetResourcePath("NestedPkg.pkg")) 1602new ItemToSign( GetResourcePath("WithApp.pkg")) 1648new ItemToSign(GetResourcePath("test.tgz")) 1702new ItemToSign(GetResourcePath("testHardlinks.tgz")) 1755new ItemToSign(GetResourcePath("test.symbols.nupkg")) 1807new ItemToSign(GetResourcePath("test.symbols.nupkg")) 1861new ItemToSign(GetResourcePath("test.deb")) 1905new ItemToSign(GetResourcePath("test.rpm")) 1933new ItemToSign(GetResourcePath("test.rpm")) 1975new ItemToSign(GetResourcePath("SignedDeb.deb")), 1976new ItemToSign(GetResourcePath("IncorrectlySignedDeb.deb")) 2006new ItemToSign(GetResourcePath("SignedRpm.rpm")), 2007new ItemToSign(GetResourcePath("IncorrectlySignedRpm.rpm")) 2038new ItemToSign(GetResourcePath("SignedScript.ps1")), 2039new ItemToSign(GetResourcePath("UnsignedScript.ps1")) 2106new ItemToSign(GetResourcePath("MsiBootstrapper.exe")), 2107new ItemToSign(GetResourcePath("MsiBootstrapper.exe.wixpack.zip")) 2154new ItemToSign(GetResourcePath("MsiBootstrapper5.exe")), 2155new ItemToSign(GetResourcePath("MsiBootstrapper5.exe.wixpack.zip")), 2156new ItemToSign(GetResourcePath("MsiSetup5.msi.wixpack.zip")) 2207new ItemToSign(GetResourcePath("MsiSetup.msi"), "123"), 2208new ItemToSign(GetResourcePath("MsiSetup.msi.wixpack.zip"), "123") 2275new ItemToSign(GetResourcePath("test.mpack")) 2309new ItemToSign(GetResourcePath("test.vsix"), "123"), 2310new ItemToSign(GetResourcePath("PackageWithRelationships.vsix"), "123") 2370new ItemToSign(GetResourcePath("TestSpaces.vsix"), "123"), 2371new ItemToSign(GetResourcePath("PackageWithRelationships.vsix"), "123") 2431new ItemToSign(GetResourcePath("PackageWithRelationships.vsix")), 2432new ItemToSign(GetResourcePath("test.vsix")) 2488new ItemToSign(GetResourcePath("PackageWithRelationships.vsix", relativePath: "A"), "123"), 2489new ItemToSign(GetResourcePath("test.vsix"), "123"), 2490new ItemToSign(GetResourcePath("PackageWithRelationships.vsix", relativePath: "B"), "123") 2550new ItemToSign(GetResourcePath("PackageWithRelationships.vsix")) 2589new ItemToSign(GetResourcePath("ZeroLengthPythonFile.py")) 2607new ItemToSign(CreateTestResource("dynalib.dylib"), "123"), 2608new ItemToSign(CreateTestResource("javatest.jar"), "123"), 2609new ItemToSign(CreateTestResource("power.ps1"), "123"), 2610new ItemToSign(CreateTestResource("powerc.psc1"), "123"), 2611new ItemToSign(CreateTestResource("powerd.psd1"), "123"), 2612new ItemToSign(CreateTestResource("powerm.psm1"), "123"), 2701new ItemToSign(GetResourcePath("SameFiles1.zip"), "123"), 2702new ItemToSign(GetResourcePath("SameFiles2.zip"), "123"), 2865new ItemToSign(GetResourcePath("SignedLibrary.dll")), 2894new ItemToSign(GetResourcePath("SignedLibrary.dll")), 2923new ItemToSign( GetResourcePath("PackageWithZip.nupkg"), "123") 2955new ItemToSign( GetResourcePath("NestedZip.zip")) 2990new ItemToSign(CreateTestResource("test.jar"), "123"), 2991new ItemToSign(CreateTestResource("test.ps1"), "123"), 2992new ItemToSign(CreateTestResource("test.psd1"), "123"), 2993new ItemToSign(CreateTestResource("test.psm1"), "123"), 2994new ItemToSign(CreateTestResource("test.psc1"), "123"), 2995new ItemToSign(CreateTestResource("test.dylib"), "123"), 2996new ItemToSign(GetResourcePath("EmptyPKT.dll"), "123"), 2997new ItemToSign(GetResourcePath("test.vsix"), "123"), 2998new ItemToSign(GetResourcePath("Simple.nupkg"), "123"), 3001new ItemToSign(GetResourcePath("Simple.symbols.nupkg"), "123"), 3003new ItemToSign(GetResourcePath("filewithoutextension"), "123"), 3005new ItemToSign(GetResourcePath("SPCNoPKT.dll"), "123"), 3007new ItemToSign(GetResourcePath("Simple.exe"), "1234") 3091new ItemToSign(peFile, "123"), 3092new ItemToSign(elfFile, "123"), 3093new ItemToSign(machoFile, "123") 3177new ItemToSign(inputFilePath) 3218new ItemToSign(inputFilePath) 3252new ItemToSign(GetResourcePath("SPCNoPKT.dll"), "123") 3624new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), collisionPriorityId: "123") 3670new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), collisionPriorityId: "123") 3700new ItemToSign(GetResourcePath("test.pkg"))