7 references to HashAlgorithm
NuGet.Commands (1)
TrustedSignersCommand\TrustedSignersCommandRunner.cs (1)
244trustedSignerBuilder.AppendLine(defaultIndentation + extraIndentation + string.Format(CultureInfo.CurrentCulture, summaryAllowUntrustedRoot, cert.HashAlgorithm.ToString(), cert.Fingerprint));
NuGet.Configuration (3)
Settings\Items\CertificateItem.cs (3)
82if (HashAlgorithm == HashAlgorithmName.Unknown) 90UpdateAttribute(ConfigurationConstants.HashAlgorithm, HashAlgorithm.ToString().ToUpper(CultureInfo.InvariantCulture)); 96var newItem = new CertificateItem(Fingerprint, HashAlgorithm, AllowUntrustedRoot);
NuGet.Packaging (3)
Signing\TrustedSigners\TrustedSignersProvider.cs (3)
105string.Format(CultureInfo.CurrentCulture, Strings.ConflictingAllowUntrustedRoot, certificate.HashAlgorithm.ToString(), certificate.Fingerprint), 137return $"{certificate.HashAlgorithm.ToString()}-{certificate.Fingerprint}"; 172return new TrustedSignerAllowListEntry(Target, Placement, Certificate.Fingerprint, Certificate.HashAlgorithm, Certificate.AllowUntrustedRoot, Owners?.ToList());