99 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 (98)
SignToolTests.cs (98)
655new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg"), "") 690new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg")) 722new ItemToSign(GetResourcePath("SignedLibrary.dll")), 723new ItemToSign(GetResourcePath("StrongNamedWithEcmaKey.dll")) 744new ItemToSign(GetResourcePath("DelaySigned.dll")) 768new ItemToSign(GetResourcePath("Crossgenned.exe")) 792new ItemToSign(GetResourcePath("OpenSigned.dll")) 820new ItemToSign(GetResourcePath(fileToTest), "123") 853new ItemToSign(GetResourcePath(GetResourcePath("ContainerOne.1.0.0.nupkg"))) 895new ItemToSign(GetResourcePath("ContainerOne.1.0.0.nupkg"), "123") 935new ItemToSign(GetResourcePath("EmptyPKT.dll")) 962new ItemToSign(GetResourcePath("CoreLibCrossARM.dll"), "123"), 963new ItemToSign(GetResourcePath("AspNetCoreCrossLib.dll"), "123") 1002new ItemToSign(GetResourcePath("EmptyPKT.dll"), "123") 1024new ItemToSign(GetResourcePath("CustomTargetFrameworkAttribute.dll"), "123") 1049new ItemToSign(GetResourcePath("EmptyPKT.dll")) 1071new ItemToSign(GetResourcePath("EmptyPKT.dll")) 1091new ItemToSign(GetResourcePath("PackageWithWix.nupkg"), "123"), 1092new ItemToSign(GetResourcePath("MsiBootstrapper.exe.wixpack.zip"), "123") 1143new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), "123") 1221new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), "123") 1304new ItemToSign(GetResourcePath("test.zip")) 1356new ItemToSign(GetResourcePath("test.zip")), 1357new ItemToSign(GetResourcePath("test.tgz")), 1358new ItemToSign(GetResourcePath("NestedZip.zip")), 1359new ItemToSign(GetResourcePath("InnerZipFile.zip")) 1447new ItemToSign(GetResourcePath("test.pkg")) 1481new ItemToSign(GetResourcePath("test.pkg")) 1538new ItemToSign(GetResourcePath("test.pkg")) 1617new ItemToSign( GetResourcePath("NestedPkg.pkg")) 1669new ItemToSign( GetResourcePath("WithApp.pkg")) 1715new ItemToSign(GetResourcePath("test.tgz")) 1773new ItemToSign(GetResourcePath("testSymlinks.tgz")) 1809new ItemToSign(GetResourcePath("testHardlinks.tgz")) 1862new ItemToSign(GetResourcePath("test.symbols.nupkg")) 1914new ItemToSign(GetResourcePath("test.symbols.nupkg")) 1968new ItemToSign(GetResourcePath("test.deb")) 2016new ItemToSign(GetResourcePath("test.rpm")) 2044new ItemToSign(GetResourcePath("test.rpm")) 2090new ItemToSign(GetResourcePath("SignedDeb.deb")), 2091new ItemToSign(GetResourcePath("IncorrectlySignedDeb.deb")) 2121new ItemToSign(GetResourcePath("SignedRpm.rpm")), 2122new ItemToSign(GetResourcePath("IncorrectlySignedRpm.rpm")) 2153new ItemToSign(GetResourcePath("SignedScript.ps1")), 2154new ItemToSign(GetResourcePath("UnsignedScript.ps1")) 2221new ItemToSign(GetResourcePath("MsiBootstrapper.exe")), 2222new ItemToSign(GetResourcePath("MsiBootstrapper.exe.wixpack.zip")) 2269new ItemToSign(GetResourcePath("MsiBootstrapper5.exe")), 2270new ItemToSign(GetResourcePath("MsiBootstrapper5.exe.wixpack.zip")), 2271new ItemToSign(GetResourcePath("MsiSetup5.msi.wixpack.zip")) 2322new ItemToSign(GetResourcePath("MsiSetup.msi"), "123"), 2323new ItemToSign(GetResourcePath("MsiSetup.msi.wixpack.zip"), "123") 2390new ItemToSign(GetResourcePath("test.mpack")) 2424new ItemToSign(GetResourcePath("test.vsix"), "123"), 2425new ItemToSign(GetResourcePath("PackageWithRelationships.vsix"), "123") 2485new ItemToSign(GetResourcePath("TestSpaces.vsix"), "123"), 2486new ItemToSign(GetResourcePath("PackageWithRelationships.vsix"), "123") 2546new ItemToSign(GetResourcePath("PackageWithRelationships.vsix")), 2547new ItemToSign(GetResourcePath("test.vsix")) 2603new ItemToSign(GetResourcePath("PackageWithRelationships.vsix", relativePath: "A"), "123"), 2604new ItemToSign(GetResourcePath("test.vsix"), "123"), 2605new ItemToSign(GetResourcePath("PackageWithRelationships.vsix", relativePath: "B"), "123") 2665new ItemToSign(GetResourcePath("PackageWithRelationships.vsix")) 2704new ItemToSign(GetResourcePath("ZeroLengthPythonFile.py")) 2722new ItemToSign(CreateTestResource("dynalib.dylib"), "123"), 2723new ItemToSign(CreateTestResource("javatest.jar"), "123"), 2724new ItemToSign(CreateTestResource("power.ps1"), "123"), 2725new ItemToSign(CreateTestResource("powerc.psc1"), "123"), 2726new ItemToSign(CreateTestResource("powerd.psd1"), "123"), 2727new ItemToSign(CreateTestResource("powerm.psm1"), "123"), 2816new ItemToSign(GetResourcePath("SameFiles1.zip"), "123"), 2817new ItemToSign(GetResourcePath("SameFiles2.zip"), "123"), 2980new ItemToSign(GetResourcePath("SignedLibrary.dll")), 3009new ItemToSign(GetResourcePath("SignedLibrary.dll")), 3038new ItemToSign( GetResourcePath("PackageWithZip.nupkg"), "123") 3070new ItemToSign( GetResourcePath("NestedZip.zip")) 3105new ItemToSign(CreateTestResource("test.jar"), "123"), 3106new ItemToSign(CreateTestResource("test.ps1"), "123"), 3107new ItemToSign(CreateTestResource("test.psd1"), "123"), 3108new ItemToSign(CreateTestResource("test.psm1"), "123"), 3109new ItemToSign(CreateTestResource("test.psc1"), "123"), 3110new ItemToSign(CreateTestResource("test.dylib"), "123"), 3111new ItemToSign(GetResourcePath("EmptyPKT.dll"), "123"), 3112new ItemToSign(GetResourcePath("test.vsix"), "123"), 3113new ItemToSign(GetResourcePath("Simple.nupkg"), "123"), 3116new ItemToSign(GetResourcePath("Simple.symbols.nupkg"), "123"), 3118new ItemToSign(GetResourcePath("filewithoutextension"), "123"), 3120new ItemToSign(GetResourcePath("SPCNoPKT.dll"), "123"), 3122new ItemToSign(GetResourcePath("Simple.exe"), "1234") 3206new ItemToSign(peFile, "123"), 3207new ItemToSign(elfFile, "123"), 3208new ItemToSign(machoFile, "123") 3292new ItemToSign(inputFilePath) 3339new ItemToSign(inputFilePath) 3373new ItemToSign(GetResourcePath("SPCNoPKT.dll"), "123") 3745new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), collisionPriorityId: "123") 3791new ItemToSign(GetResourcePath("NestedContainer.1.0.0.nupkg"), collisionPriorityId: "123") 3821new ItemToSign(GetResourcePath("test.pkg"))