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