103 references to ItemToSign
Microsoft.DotNet.SignTool (1)
src\SignToolTask.cs (1)
237var itemsToSign = ItemsToSign.Select(i => new ItemToSign(i.ItemSpec, i.GetMetadata(SignToolConstants.CollisionPriorityId))).OrderBy(i => i.CollisionPriorityId).ToList();
Microsoft.DotNet.SignTool.Tests (102)
SignToolTests.cs (102)
651new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg"), "") 686new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg")) 718new ItemToSign(GetResourcePath("SignedLibrary.dll")), 719new ItemToSign(GetResourcePath("StrongNamedWithEcmaKey.dll")) 740new ItemToSign(GetResourcePath("DelaySigned.dll")) 764new ItemToSign(GetResourcePath("Crossgenned.exe")) 788new ItemToSign(GetResourcePath("OpenSigned.dll")) 816new ItemToSign(GetResourcePath(fileToTest), "123") 849new ItemToSign(GetResourcePath(GetResourcePath("ContainerOne.1.0.0.nupkg"))) 891new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg"), "123") 931new ItemToSign(GetResourcePath("EmptyPKT.dll")) 958new ItemToSign(GetResourcePath("CoreLibCrossARM.dll"), "123"), 959new ItemToSign(GetResourcePath("AspNetCoreCrossLib.dll"), "123") 998new ItemToSign(GetResourcePath("EmptyPKT.dll"), "123") 1020new ItemToSign(GetResourcePath("CustomTargetFrameworkAttribute.dll"), "123") 1045new ItemToSign(GetResourcePath("EmptyPKT.dll")) 1067new ItemToSign(GetResourcePath("EmptyPKT.dll")) 1087new ItemToSign(GetResourcePath("PackageWithWix.nupkg"), "123"), 1088new ItemToSign(GetResourcePath("MsiBootstrapper.exe.wixpack.zip"), "123") 1139new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), "123") 1217new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), "123") 1300new ItemToSign(GetResourcePath("test.zip")) 1352new ItemToSign(GetResourcePath("test.zip")), 1353new ItemToSign(GetResourcePath("test.tgz")), 1354new ItemToSign(GetResourcePath("NestedZip.zip")), 1355new ItemToSign(GetResourcePath("InnerZipFile.zip")) 1443new ItemToSign(GetResourcePath("test.pkg")) 1477new ItemToSign(GetResourcePath("test.pkg")) 1534new ItemToSign(GetResourcePath("test.pkg")) 1613new ItemToSign( GetResourcePath("NestedPkg.pkg")) 1665new ItemToSign( GetResourcePath("WithApp.pkg")) 1711new ItemToSign(GetResourcePath("test.tgz")) 1768new ItemToSign(GetResourcePath("testSymlinks.tgz")) 1804new ItemToSign(GetResourcePath("testHardlinks.tgz")) 1856new ItemToSign(GetResourcePath("test.symbols.nupkg")) 1908new ItemToSign(GetResourcePath("test.symbols.nupkg")) 1961new ItemToSign(GetResourcePath("test.deb")) 2009new ItemToSign(GetResourcePath("test.rpm")) 2037new ItemToSign(GetResourcePath("test.rpm")) 2083new ItemToSign(GetResourcePath("SignedDeb.deb")), 2084new ItemToSign(GetResourcePath("IncorrectlySignedDeb.deb")) 2114new ItemToSign(GetResourcePath("SignedRpm.rpm")), 2115new ItemToSign(GetResourcePath("IncorrectlySignedRpm.rpm")) 2145new ItemToSign(GetResourcePath("SignedScript.ps1")), 2146new ItemToSign(GetResourcePath("UnsignedScript.ps1")) 2172new ItemToSign(GetResourcePath("SignedPackage.1.0.0.nupkg")), 2173new ItemToSign(GetResourcePath("IncorrectlySignedPackage.1.0.0.nupkg")) 2190new ItemToSign(GetResourcePath("UnsignedContents.nupkg")), 2191new ItemToSign(GetResourcePath("FakeSignedContents.nupkg")) 2216new ItemToSign(GetResourcePath("MsiBootstrapper.exe")), 2217new ItemToSign(GetResourcePath("MsiBootstrapper.exe.wixpack.zip")) 2264new ItemToSign(GetResourcePath("MsiBootstrapper5.exe")), 2265new ItemToSign(GetResourcePath("MsiBootstrapper5.exe.wixpack.zip")), 2266new ItemToSign(GetResourcePath("MsiSetup5.msi.wixpack.zip")) 2317new ItemToSign(GetResourcePath("MsiSetup.msi"), "123"), 2318new ItemToSign(GetResourcePath("MsiSetup.msi.wixpack.zip"), "123") 2385new ItemToSign(GetResourcePath("test.mpack")) 2419new ItemToSign(GetResourcePath("test.vsix"), "123"), 2420new ItemToSign(GetResourcePath("PackageWithRelationships.vsix"), "123") 2480new ItemToSign(GetResourcePath("TestSpaces.vsix"), "123"), 2481new ItemToSign(GetResourcePath("PackageWithRelationships.vsix"), "123") 2541new ItemToSign(GetResourcePath("PackageWithRelationships.vsix")), 2542new ItemToSign(GetResourcePath("test.vsix")) 2598new ItemToSign(GetResourcePath("PackageWithRelationships.vsix", relativePath: "A"), "123"), 2599new ItemToSign(GetResourcePath("test.vsix"), "123"), 2600new ItemToSign(GetResourcePath("PackageWithRelationships.vsix", relativePath: "B"), "123") 2660new ItemToSign(GetResourcePath("PackageWithRelationships.vsix")) 2699new ItemToSign(GetResourcePath("ZeroLengthPythonFile.py")) 2717new ItemToSign(CreateTestResource("dynalib.dylib"), "123"), 2718new ItemToSign(CreateTestResource("javatest.jar"), "123"), 2719new ItemToSign(CreateTestResource("power.ps1"), "123"), 2720new ItemToSign(CreateTestResource("powerc.psc1"), "123"), 2721new ItemToSign(CreateTestResource("powerd.psd1"), "123"), 2722new ItemToSign(CreateTestResource("powerm.psm1"), "123"), 2811new ItemToSign(GetResourcePath("SameFiles1.zip"), "123"), 2812new ItemToSign(GetResourcePath("SameFiles2.zip"), "123"), 2974new ItemToSign(GetResourcePath("SignedLibrary.dll")), 3003new ItemToSign(GetResourcePath("SignedLibrary.dll")), 3032new ItemToSign( GetResourcePath("PackageWithZip.nupkg"), "123") 3064new ItemToSign( GetResourcePath("NestedZip.zip")) 3099new ItemToSign(CreateTestResource("test.jar"), "123"), 3100new ItemToSign(CreateTestResource("test.ps1"), "123"), 3101new ItemToSign(CreateTestResource("test.psd1"), "123"), 3102new ItemToSign(CreateTestResource("test.psm1"), "123"), 3103new ItemToSign(CreateTestResource("test.psc1"), "123"), 3104new ItemToSign(CreateTestResource("test.dylib"), "123"), 3105new ItemToSign(GetResourcePath("EmptyPKT.dll"), "123"), 3106new ItemToSign(GetResourcePath("test.vsix"), "123"), 3107new ItemToSign(GetResourcePath("Simple.nupkg"), "123"), 3110new ItemToSign(GetResourcePath("Simple.symbols.nupkg"), "123"), 3112new ItemToSign(GetResourcePath("filewithoutextension"), "123"), 3114new ItemToSign(GetResourcePath("SPCNoPKT.dll"), "123"), 3116new ItemToSign(GetResourcePath("Simple.exe"), "1234") 3200new ItemToSign(peFile, "123"), 3201new ItemToSign(elfFile, "123"), 3202new ItemToSign(machoFile, "123") 3286new ItemToSign(inputFilePath) 3332new ItemToSign(inputFilePath) 3365new ItemToSign(GetResourcePath("SPCNoPKT.dll"), "123") 3736new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), collisionPriorityId: "123") 3782new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), collisionPriorityId: "123") 3812new ItemToSign(GetResourcePath("test.pkg"))