84 references to ItemToSign
Microsoft.DotNet.SignTool (1)
src\SignToolTask.cs (1)
250var 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)
580new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg"), "") 615new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg")) 647new ItemToSign(GetResourcePath("SignedLibrary.dll")), 648new ItemToSign(GetResourcePath("StrongNamedWithEcmaKey.dll")) 669new ItemToSign(GetResourcePath("DelaySigned.dll")) 693new ItemToSign(GetResourcePath("Crossgenned.exe")) 717new ItemToSign(GetResourcePath("OpenSigned.dll")) 745new ItemToSign(GetResourcePath(fileToTest), "123") 778new ItemToSign(GetResourcePath(GetResourcePath("ContainerOne.1.0.0.nupkg"))) 820new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg"), "123") 860new ItemToSign(GetResourcePath("EmptyPKT.dll")) 887new ItemToSign(GetResourcePath("CoreLibCrossARM.dll"), "123"), 888new ItemToSign(GetResourcePath("AspNetCoreCrossLib.dll"), "123") 927new ItemToSign(GetResourcePath("EmptyPKT.dll"), "123") 949new ItemToSign(GetResourcePath("CustomTargetFrameworkAttribute.dll"), "123") 974new ItemToSign(GetResourcePath("EmptyPKT.dll")) 996new ItemToSign(GetResourcePath("EmptyPKT.dll")) 1016new ItemToSign(GetResourcePath("PackageWithWix.nupkg"), "123"), 1017new ItemToSign(GetResourcePath("MsiBootstrapper.exe.wixpack.zip"), "123") 1067new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), "123") 1145new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), "123") 1228new ItemToSign(GetResourcePath("test.zip")) 1284new ItemToSign(GetResourcePath("test.pkg")) 1318new ItemToSign(GetResourcePath("test.pkg")) 1375new ItemToSign(GetResourcePath("test.pkg")) 1451new ItemToSign( GetResourcePath("NestedPkg.pkg")) 1503new ItemToSign( GetResourcePath("WithApp.pkg")) 1549new ItemToSign(GetResourcePath("test.tgz")) 1601new ItemToSign(GetResourcePath("test.symbols.nupkg")) 1653new ItemToSign(GetResourcePath("test.symbols.nupkg")) 1707new ItemToSign(GetResourcePath("test.deb")) 1751new ItemToSign(GetResourcePath("test.rpm")) 1779new ItemToSign(GetResourcePath("test.rpm")) 1821new ItemToSign(GetResourcePath("SignedDeb.deb")), 1822new ItemToSign(GetResourcePath("IncorrectlySignedDeb.deb")) 1852new ItemToSign(GetResourcePath("SignedRpm.rpm")), 1853new ItemToSign(GetResourcePath("IncorrectlySignedRpm.rpm")) 1884new ItemToSign(GetResourcePath("SignedScript.ps1")), 1885new ItemToSign(GetResourcePath("UnsignedScript.ps1")) 1952new ItemToSign(GetResourcePath("MsiBootstrapper.exe")), 1953new ItemToSign(GetResourcePath("MsiBootstrapper.exe.wixpack.zip")) 1999new ItemToSign(GetResourcePath("MsiSetup.msi"), "123"), 2000new ItemToSign(GetResourcePath("MsiSetup.msi.wixpack.zip"), "123") 2065new ItemToSign(GetResourcePath("test.mpack")) 2099new ItemToSign(GetResourcePath("test.vsix"), "123"), 2100new ItemToSign(GetResourcePath("PackageWithRelationships.vsix"), "123") 2160new ItemToSign(GetResourcePath("TestSpaces.vsix"), "123"), 2161new ItemToSign(GetResourcePath("PackageWithRelationships.vsix"), "123") 2221new ItemToSign(GetResourcePath("PackageWithRelationships.vsix")), 2222new ItemToSign(GetResourcePath("test.vsix")) 2278new ItemToSign(GetResourcePath("PackageWithRelationships.vsix", relativePath: "A"), "123"), 2279new ItemToSign(GetResourcePath("test.vsix"), "123"), 2280new ItemToSign(GetResourcePath("PackageWithRelationships.vsix", relativePath: "B"), "123") 2340new ItemToSign(GetResourcePath("PackageWithRelationships.vsix")) 2379new ItemToSign(GetResourcePath("ZeroLengthPythonFile.py")) 2397new ItemToSign(CreateTestResource("dynalib.dylib"), "123"), 2398new ItemToSign(CreateTestResource("javatest.jar"), "123"), 2399new ItemToSign(CreateTestResource("power.ps1"), "123"), 2400new ItemToSign(CreateTestResource("powerc.psc1"), "123"), 2401new ItemToSign(CreateTestResource("powerd.psd1"), "123"), 2402new ItemToSign(CreateTestResource("powerm.psm1"), "123"), 2491new ItemToSign(GetResourcePath("SameFiles1.zip"), "123"), 2492new ItemToSign(GetResourcePath("SameFiles2.zip"), "123"), 2637new ItemToSign(GetResourcePath("SignedLibrary.dll")), 2666new ItemToSign(GetResourcePath("SignedLibrary.dll")), 2695new ItemToSign( GetResourcePath("PackageWithZip.nupkg"), "123") 2727new ItemToSign( GetResourcePath("NestedZip.zip")) 2762new ItemToSign(CreateTestResource("test.jar"), "123"), 2763new ItemToSign(CreateTestResource("test.ps1"), "123"), 2764new ItemToSign(CreateTestResource("test.psd1"), "123"), 2765new ItemToSign(CreateTestResource("test.psm1"), "123"), 2766new ItemToSign(CreateTestResource("test.psc1"), "123"), 2767new ItemToSign(CreateTestResource("test.dylib"), "123"), 2768new ItemToSign(GetResourcePath("EmptyPKT.dll"), "123"), 2769new ItemToSign(GetResourcePath("test.vsix"), "123"), 2770new ItemToSign(GetResourcePath("Simple.nupkg"), "123"), 2773new ItemToSign(GetResourcePath("Simple.symbols.nupkg"), "123"), 2775new ItemToSign(GetResourcePath("filewithoutextension"), "123"), 2777new ItemToSign(GetResourcePath("SPCNoPKT.dll"), "123"), 2779new ItemToSign(GetResourcePath("Simple.exe"), "1234") 2873new ItemToSign(inputFilePath) 2914new ItemToSign(inputFilePath) 2948new ItemToSign(GetResourcePath("SPCNoPKT.dll"), "123")