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