84 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 (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")