84 instantiations of 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 (83)
SignToolTests.cs (83)
586new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg"), "") 621new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg")) 653new ItemToSign(GetResourcePath("SignedLibrary.dll")), 654new ItemToSign(GetResourcePath("StrongNamedWithEcmaKey.dll")) 675new ItemToSign(GetResourcePath("DelaySigned.dll")) 699new ItemToSign(GetResourcePath("Crossgenned.exe")) 723new ItemToSign(GetResourcePath("OpenSigned.dll")) 751new ItemToSign(GetResourcePath(fileToTest), "123") 784new ItemToSign(GetResourcePath(GetResourcePath("ContainerOne.1.0.0.nupkg"))) 826new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg"), "123") 866new ItemToSign(GetResourcePath("EmptyPKT.dll")) 893new ItemToSign(GetResourcePath("CoreLibCrossARM.dll"), "123"), 894new ItemToSign(GetResourcePath("AspNetCoreCrossLib.dll"), "123") 933new ItemToSign(GetResourcePath("EmptyPKT.dll"), "123") 955new ItemToSign(GetResourcePath("CustomTargetFrameworkAttribute.dll"), "123") 980new ItemToSign(GetResourcePath("EmptyPKT.dll")) 1002new ItemToSign(GetResourcePath("EmptyPKT.dll")) 1022new ItemToSign(GetResourcePath("PackageWithWix.nupkg"), "123"), 1023new ItemToSign(GetResourcePath("MsiBootstrapper.exe.wixpack.zip"), "123") 1074new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), "123") 1152new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), "123") 1235new ItemToSign(GetResourcePath("test.zip")) 1291new ItemToSign(GetResourcePath("test.pkg")) 1325new ItemToSign(GetResourcePath("test.pkg")) 1382new ItemToSign(GetResourcePath("test.pkg")) 1458new ItemToSign( GetResourcePath("NestedPkg.pkg")) 1510new ItemToSign( GetResourcePath("WithApp.pkg")) 1556new ItemToSign(GetResourcePath("test.tgz")) 1608new ItemToSign(GetResourcePath("test.symbols.nupkg")) 1660new ItemToSign(GetResourcePath("test.symbols.nupkg")) 1891new ItemToSign(GetResourcePath("SignedScript.ps1")), 1892new ItemToSign(GetResourcePath("UnsignedScript.ps1")) 1917new ItemToSign(GetResourcePath("SignedPackage.1.0.0.nupkg")), 1918new ItemToSign(GetResourcePath("IncorrectlySignedPackage.1.0.0.nupkg")) 1934new ItemToSign(GetResourcePath("UnsignedContents.nupkg")), 1935new ItemToSign(GetResourcePath("FakeSignedContents.nupkg")) 1959new ItemToSign(GetResourcePath("MsiBootstrapper.exe")), 1960new ItemToSign(GetResourcePath("MsiBootstrapper.exe.wixpack.zip")) 2007new ItemToSign(GetResourcePath("MsiBootstrapper5.exe")), 2008new ItemToSign(GetResourcePath("MsiBootstrapper5.exe.wixpack.zip")), 2009new ItemToSign(GetResourcePath("MsiSetup5.msi.wixpack.zip")) 2060new ItemToSign(GetResourcePath("MsiSetup.msi"), "123"), 2061new ItemToSign(GetResourcePath("MsiSetup.msi.wixpack.zip"), "123") 2128new ItemToSign(GetResourcePath("test.mpack")) 2162new ItemToSign(GetResourcePath("test.vsix"), "123"), 2163new ItemToSign(GetResourcePath("PackageWithRelationships.vsix"), "123") 2223new ItemToSign(GetResourcePath("TestSpaces.vsix"), "123"), 2224new ItemToSign(GetResourcePath("PackageWithRelationships.vsix"), "123") 2284new ItemToSign(GetResourcePath("PackageWithRelationships.vsix")), 2285new ItemToSign(GetResourcePath("test.vsix")) 2341new ItemToSign(GetResourcePath("PackageWithRelationships.vsix", relativePath: "A"), "123"), 2342new ItemToSign(GetResourcePath("test.vsix"), "123"), 2343new ItemToSign(GetResourcePath("PackageWithRelationships.vsix", relativePath: "B"), "123") 2403new ItemToSign(GetResourcePath("PackageWithRelationships.vsix")) 2442new ItemToSign(GetResourcePath("ZeroLengthPythonFile.py")) 2460new ItemToSign(CreateTestResource("dynalib.dylib"), "123"), 2461new ItemToSign(CreateTestResource("javatest.jar"), "123"), 2462new ItemToSign(CreateTestResource("power.ps1"), "123"), 2463new ItemToSign(CreateTestResource("powerc.psc1"), "123"), 2464new ItemToSign(CreateTestResource("powerd.psd1"), "123"), 2465new ItemToSign(CreateTestResource("powerm.psm1"), "123"), 2554new ItemToSign(GetResourcePath("SameFiles1.zip"), "123"), 2555new ItemToSign(GetResourcePath("SameFiles2.zip"), "123"), 2700new ItemToSign(GetResourcePath("SignedLibrary.dll")), 2729new ItemToSign(GetResourcePath("SignedLibrary.dll")), 2758new ItemToSign( GetResourcePath("PackageWithZip.nupkg"), "123") 2790new ItemToSign( GetResourcePath("NestedZip.zip")) 2825new ItemToSign(CreateTestResource("test.jar"), "123"), 2826new ItemToSign(CreateTestResource("test.ps1"), "123"), 2827new ItemToSign(CreateTestResource("test.psd1"), "123"), 2828new ItemToSign(CreateTestResource("test.psm1"), "123"), 2829new ItemToSign(CreateTestResource("test.psc1"), "123"), 2830new ItemToSign(CreateTestResource("test.dylib"), "123"), 2831new ItemToSign(GetResourcePath("EmptyPKT.dll"), "123"), 2832new ItemToSign(GetResourcePath("test.vsix"), "123"), 2833new ItemToSign(GetResourcePath("Simple.nupkg"), "123"), 2836new ItemToSign(GetResourcePath("Simple.symbols.nupkg"), "123"), 2838new ItemToSign(GetResourcePath("filewithoutextension"), "123"), 2840new ItemToSign(GetResourcePath("SPCNoPKT.dll"), "123"), 2842new ItemToSign(GetResourcePath("Simple.exe"), "1234") 2936new ItemToSign(inputFilePath) 2977new ItemToSign(inputFilePath) 3011new ItemToSign(GetResourcePath("SPCNoPKT.dll"), "123")
56 references to ItemToSign
Microsoft.DotNet.SignTool (3)
src\Configuration.cs (3)
23private readonly List<ItemToSign> _itemsToSign; 112List<ItemToSign> itemsToSign, 157foreach (var itemToSign in _itemsToSign)
Microsoft.DotNet.SignTool.Tests (53)
SignToolTests.cs (53)
328List<ItemToSign> itemsToSign, 382List<ItemToSign> itemsToSign, 525var itemsToSign = new List<ItemToSign>(); 584var itemsToSign = new List<ItemToSign>() 619var itemsToSign = new List<ItemToSign>() 651var itemsToSign = new List<ItemToSign>() 673var itemsToSign = new List<ItemToSign>() 697var itemsToSign = new List<ItemToSign>() 721var itemsToSign = new List<ItemToSign>() 749var itemsToSign = new List<ItemToSign>() 782var itemsToSign = new List<ItemToSign>() 824var itemsToSign = new List<ItemToSign>() 864var itemsToSign = new List<ItemToSign>() 891var itemsToSign = new List<ItemToSign>() 931var itemsToSign = new List<ItemToSign>() 953var itemsToSign = new List<ItemToSign>() 978var itemsToSign = new List<ItemToSign>() 1000var itemsToSign = new List<ItemToSign>() 1020var itemsToSign = new List<ItemToSign>() 1072var itemsToSign = new List<ItemToSign>() 1150var itemsToSign = new List<ItemToSign>() 1233var itemsToSign = new List<ItemToSign>() 1289var itemsToSign = new List<ItemToSign>() 1323var itemsToSign = new List<ItemToSign>() 1380var itemsToSign = new List<ItemToSign>() 1456var itemsToSign = new List<ItemToSign>() 1508var itemsToSign = new List<ItemToSign>() 1554var itemsToSign = new List<ItemToSign>() 1606var itemsToSign = new List<ItemToSign>() 1658var itemsToSign = new List<ItemToSign>() 1889var itemsToSign = new List<ItemToSign>() 1915var itemsToSign = new List<ItemToSign>() 1932var itemsToSign = new List<ItemToSign>() 1957var itemsToSign = new List<ItemToSign>() 2005var itemsToSign = new List<ItemToSign>() 2058var itemsToSign = new List<ItemToSign>() 2126var itemsToSign = new List<ItemToSign>() 2160var itemsToSign = new List<ItemToSign>() 2221var itemsToSign = new List<ItemToSign>() 2282var itemsToSign = new List<ItemToSign>() 2339var itemsToSign = new List<ItemToSign>() 2401var itemsToSign = new List<ItemToSign>() 2440var itemsToSign = new List<ItemToSign>() 2458var itemsToSign = new List<ItemToSign>() 2552var itemsToSign = new List<ItemToSign>() 2698var itemsToSign = new List<ItemToSign>() 2727var itemsToSign = new List<ItemToSign>() 2756var itemsToSign = new List<ItemToSign>() 2788var itemsToSign = new List<ItemToSign>() 2823var itemsToSign = new List<ItemToSign>() 2934var itemsToSign = new List<ItemToSign>() 2975var itemsToSign = new List<ItemToSign>() 3009var itemsToSign = new List<ItemToSign>()