11 references to JarUtils
Microsoft.DotNet.SignCheckLibrary (11)
Verification\Jar\JarAttributes.cs (2)
50using (Stream s = JarUtils.ToStream(rawText)) 69line = line.TrimStart(' ').TrimEnd(JarUtils.NewLine);
Verification\Jar\JarIndividualEntry.cs (1)
79HashAlgorithmName = JarUtils.GetHashAlgorithmFromDigest(digestAttributeKey, "-Digest");
Verification\Jar\JarSignatureFile.cs (8)
109a => String.Equals(MainAttributes[a], manifest.GetManifestDigest(JarUtils.GetHashAlgorithmFromDigest(a, "-Digest-Manifest"))) 127JarUtils.GetHashAlgorithmFromDigest(digestAttributeKey, "-Digest-Manifest-Main-Attributes"); 129manifestFile.GetMainAttributesDigest(JarUtils.GetHashAlgorithmFromDigest(digestAttributeKey, "-Digest-Manifest-Main-Attributes"))); 152string computedDigest = JarUtils.GetHashDigest(manifestFileEntry.RawText, signatureFileEntry.HashAlgorithmName); 209byte[] signatureBlockBytes = JarUtils.ReadBytes(ArchivePath, SignatureBlockFilePath); 210byte[] signatureFileBytes = JarUtils.ReadBytes(ArchivePath, SignatureFilePath); 240byte[] signatureBlockBytes = JarUtils.ReadBytes(ArchivePath, SignatureBlockFilePath); 241byte[] signatureFileBytes = JarUtils.ReadBytes(ArchivePath, SignatureFilePath);