94 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 (93)
SignToolTests.cs (93)
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")) 1700new ItemToSign(GetResourcePath("test.symbols.nupkg")) 1752new ItemToSign(GetResourcePath("test.symbols.nupkg")) 1806new ItemToSign(GetResourcePath("test.deb")) 1850new ItemToSign(GetResourcePath("test.rpm")) 1878new ItemToSign(GetResourcePath("test.rpm")) 1920new ItemToSign(GetResourcePath("SignedDeb.deb")), 1921new ItemToSign(GetResourcePath("IncorrectlySignedDeb.deb")) 1951new ItemToSign(GetResourcePath("SignedRpm.rpm")), 1952new ItemToSign(GetResourcePath("IncorrectlySignedRpm.rpm")) 1983new ItemToSign(GetResourcePath("SignedScript.ps1")), 1984new ItemToSign(GetResourcePath("UnsignedScript.ps1")) 2051new ItemToSign(GetResourcePath("MsiBootstrapper.exe")), 2052new ItemToSign(GetResourcePath("MsiBootstrapper.exe.wixpack.zip")) 2099new ItemToSign(GetResourcePath("MsiBootstrapper5.exe")), 2100new ItemToSign(GetResourcePath("MsiBootstrapper5.exe.wixpack.zip")), 2101new ItemToSign(GetResourcePath("MsiSetup5.msi.wixpack.zip")) 2152new ItemToSign(GetResourcePath("MsiSetup.msi"), "123"), 2153new ItemToSign(GetResourcePath("MsiSetup.msi.wixpack.zip"), "123") 2220new ItemToSign(GetResourcePath("test.mpack")) 2254new ItemToSign(GetResourcePath("test.vsix"), "123"), 2255new ItemToSign(GetResourcePath("PackageWithRelationships.vsix"), "123") 2315new ItemToSign(GetResourcePath("TestSpaces.vsix"), "123"), 2316new ItemToSign(GetResourcePath("PackageWithRelationships.vsix"), "123") 2376new ItemToSign(GetResourcePath("PackageWithRelationships.vsix")), 2377new ItemToSign(GetResourcePath("test.vsix")) 2433new ItemToSign(GetResourcePath("PackageWithRelationships.vsix", relativePath: "A"), "123"), 2434new ItemToSign(GetResourcePath("test.vsix"), "123"), 2435new ItemToSign(GetResourcePath("PackageWithRelationships.vsix", relativePath: "B"), "123") 2495new ItemToSign(GetResourcePath("PackageWithRelationships.vsix")) 2534new ItemToSign(GetResourcePath("ZeroLengthPythonFile.py")) 2552new ItemToSign(CreateTestResource("dynalib.dylib"), "123"), 2553new ItemToSign(CreateTestResource("javatest.jar"), "123"), 2554new ItemToSign(CreateTestResource("power.ps1"), "123"), 2555new ItemToSign(CreateTestResource("powerc.psc1"), "123"), 2556new ItemToSign(CreateTestResource("powerd.psd1"), "123"), 2557new ItemToSign(CreateTestResource("powerm.psm1"), "123"), 2646new ItemToSign(GetResourcePath("SameFiles1.zip"), "123"), 2647new ItemToSign(GetResourcePath("SameFiles2.zip"), "123"), 2810new ItemToSign(GetResourcePath("SignedLibrary.dll")), 2839new ItemToSign(GetResourcePath("SignedLibrary.dll")), 2868new ItemToSign( GetResourcePath("PackageWithZip.nupkg"), "123") 2900new ItemToSign( GetResourcePath("NestedZip.zip")) 2935new ItemToSign(CreateTestResource("test.jar"), "123"), 2936new ItemToSign(CreateTestResource("test.ps1"), "123"), 2937new ItemToSign(CreateTestResource("test.psd1"), "123"), 2938new ItemToSign(CreateTestResource("test.psm1"), "123"), 2939new ItemToSign(CreateTestResource("test.psc1"), "123"), 2940new ItemToSign(CreateTestResource("test.dylib"), "123"), 2941new ItemToSign(GetResourcePath("EmptyPKT.dll"), "123"), 2942new ItemToSign(GetResourcePath("test.vsix"), "123"), 2943new ItemToSign(GetResourcePath("Simple.nupkg"), "123"), 2946new ItemToSign(GetResourcePath("Simple.symbols.nupkg"), "123"), 2948new ItemToSign(GetResourcePath("filewithoutextension"), "123"), 2950new ItemToSign(GetResourcePath("SPCNoPKT.dll"), "123"), 2952new ItemToSign(GetResourcePath("Simple.exe"), "1234") 3036new ItemToSign(peFile, "123"), 3037new ItemToSign(elfFile, "123"), 3038new ItemToSign(machoFile, "123") 3122new ItemToSign(inputFilePath) 3163new ItemToSign(inputFilePath) 3197new ItemToSign(GetResourcePath("SPCNoPKT.dll"), "123")