4 references to Utils
Microsoft.DotNet.SignCheckLibrary (4)
Verification\ArchiveVerifier.cs (3)
40
string hashedPath = String.IsNullOrEmpty(directoryName) ?
Utils
.GetHash(@".\", HashAlgorithmName.SHA256.Name) :
41
Utils
.GetHash(directoryName, HashAlgorithmName.SHA256.Name);
46
Utils
.GetHash(archiveEntry.FullName, HashAlgorithmName.SHA256.Name) + Path.GetExtension(archiveEntry.FullName); // lgtm [cs/zipslip] Archive from trusted source
Verification\Exclusions.cs (1)
161
string regexPattern =
Utils
.ConvertToRegexPattern(pattern);