179 references to Thumbprint
Aspire.Dashboard.Tests (5)
Client.ChannelLayer.IntegrationTests (3)
dotnet-dev-certs (15)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (11)
15/// Normally, we avoid the use of <see cref="X509Certificate2.Thumbprint"/> because it's a SHA-1 hash and, therefore,
146Log.MacOSAddCertificateToUserProfileDirError(candidate.Thumbprint, ex.Message);
244certificate.Thumbprint.ToUpperInvariant(),
265throw new InvalidOperationException($@"There was an error removing the certificate with thumbprint '{certificate.Thumbprint}'.
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
327Log.MacOSAddCertificateToUserProfileDirError(certificate.Thumbprint, ex.Message);
374Path.Combine(MacOSUserHttpsCertificateLocation, $"aspnetcore-localhost-{certificate.Thumbprint}.pfx");
424EqualityComparer<string>.Default.Equals(x?.Thumbprint, y?.Thumbprint);
428EqualityComparer<string>.Default.GetHashCode(obj.Thumbprint);
471Log.MacOSRemoveCertificateFromUserProfileDirError(certificate.Thumbprint, ex.Message);
dotnet-svcutil-lib (6)
Infrastructure.Common (8)
InMemory.FunctionalTests (1)
Microsoft.AspNetCore.Authentication.Certificate (1)
Microsoft.AspNetCore.Authentication.Test (1)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.DataProtection.Extensions.Tests (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (15)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (11)
15/// Normally, we avoid the use of <see cref="X509Certificate2.Thumbprint"/> because it's a SHA-1 hash and, therefore,
146Log.MacOSAddCertificateToUserProfileDirError(candidate.Thumbprint, ex.Message);
244certificate.Thumbprint.ToUpperInvariant(),
265throw new InvalidOperationException($@"There was an error removing the certificate with thumbprint '{certificate.Thumbprint}'.
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
327Log.MacOSAddCertificateToUserProfileDirError(certificate.Thumbprint, ex.Message);
374Path.Combine(MacOSUserHttpsCertificateLocation, $"aspnetcore-localhost-{certificate.Thumbprint}.pfx");
424EqualityComparer<string>.Default.Equals(x?.Thumbprint, y?.Thumbprint);
428EqualityComparer<string>.Default.GetHashCode(obj.Thumbprint);
471Log.MacOSRemoveCertificateFromUserProfileDirError(certificate.Thumbprint, ex.Message);
Microsoft.AspNetCore.Server.Kestrel.Core (22)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (11)
15/// Normally, we avoid the use of <see cref="X509Certificate2.Thumbprint"/> because it's a SHA-1 hash and, therefore,
146Log.MacOSAddCertificateToUserProfileDirError(candidate.Thumbprint, ex.Message);
244certificate.Thumbprint.ToUpperInvariant(),
265throw new InvalidOperationException($@"There was an error removing the certificate with thumbprint '{certificate.Thumbprint}'.
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
327Log.MacOSAddCertificateToUserProfileDirError(certificate.Thumbprint, ex.Message);
374Path.Combine(MacOSUserHttpsCertificateLocation, $"aspnetcore-localhost-{certificate.Thumbprint}.pfx");
424EqualityComparer<string>.Default.Equals(x?.Thumbprint, y?.Thumbprint);
428EqualityComparer<string>.Default.GetHashCode(obj.Thumbprint);
471Log.MacOSRemoveCertificateFromUserProfileDirError(certificate.Thumbprint, ex.Message);
Microsoft.Build.Tasks.Core (2)
Microsoft.Build.Tasks.UnitTests (1)
Security.TransportSecurity.IntegrationTests (11)
System.Net.Http (2)
System.Net.Security (1)
System.Security.Cryptography (3)
Templates.Blazor.Tests (16)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (11)
15/// Normally, we avoid the use of <see cref="X509Certificate2.Thumbprint"/> because it's a SHA-1 hash and, therefore,
146Log.MacOSAddCertificateToUserProfileDirError(candidate.Thumbprint, ex.Message);
244certificate.Thumbprint.ToUpperInvariant(),
265throw new InvalidOperationException($@"There was an error removing the certificate with thumbprint '{certificate.Thumbprint}'.
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
327Log.MacOSAddCertificateToUserProfileDirError(certificate.Thumbprint, ex.Message);
374Path.Combine(MacOSUserHttpsCertificateLocation, $"aspnetcore-localhost-{certificate.Thumbprint}.pfx");
424EqualityComparer<string>.Default.Equals(x?.Thumbprint, y?.Thumbprint);
428EqualityComparer<string>.Default.GetHashCode(obj.Thumbprint);
471Log.MacOSRemoveCertificateFromUserProfileDirError(certificate.Thumbprint, ex.Message);
Templates.Blazor.WebAssembly.Auth.Tests (16)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (11)
15/// Normally, we avoid the use of <see cref="X509Certificate2.Thumbprint"/> because it's a SHA-1 hash and, therefore,
146Log.MacOSAddCertificateToUserProfileDirError(candidate.Thumbprint, ex.Message);
244certificate.Thumbprint.ToUpperInvariant(),
265throw new InvalidOperationException($@"There was an error removing the certificate with thumbprint '{certificate.Thumbprint}'.
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
327Log.MacOSAddCertificateToUserProfileDirError(certificate.Thumbprint, ex.Message);
374Path.Combine(MacOSUserHttpsCertificateLocation, $"aspnetcore-localhost-{certificate.Thumbprint}.pfx");
424EqualityComparer<string>.Default.Equals(x?.Thumbprint, y?.Thumbprint);
428EqualityComparer<string>.Default.GetHashCode(obj.Thumbprint);
471Log.MacOSRemoveCertificateFromUserProfileDirError(certificate.Thumbprint, ex.Message);
Templates.Blazor.WebAssembly.Tests (16)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (11)
15/// Normally, we avoid the use of <see cref="X509Certificate2.Thumbprint"/> because it's a SHA-1 hash and, therefore,
146Log.MacOSAddCertificateToUserProfileDirError(candidate.Thumbprint, ex.Message);
244certificate.Thumbprint.ToUpperInvariant(),
265throw new InvalidOperationException($@"There was an error removing the certificate with thumbprint '{certificate.Thumbprint}'.
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
327Log.MacOSAddCertificateToUserProfileDirError(certificate.Thumbprint, ex.Message);
374Path.Combine(MacOSUserHttpsCertificateLocation, $"aspnetcore-localhost-{certificate.Thumbprint}.pfx");
424EqualityComparer<string>.Default.Equals(x?.Thumbprint, y?.Thumbprint);
428EqualityComparer<string>.Default.GetHashCode(obj.Thumbprint);
471Log.MacOSRemoveCertificateFromUserProfileDirError(certificate.Thumbprint, ex.Message);
Templates.Mvc.Tests (16)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (11)
15/// Normally, we avoid the use of <see cref="X509Certificate2.Thumbprint"/> because it's a SHA-1 hash and, therefore,
146Log.MacOSAddCertificateToUserProfileDirError(candidate.Thumbprint, ex.Message);
244certificate.Thumbprint.ToUpperInvariant(),
265throw new InvalidOperationException($@"There was an error removing the certificate with thumbprint '{certificate.Thumbprint}'.
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
327Log.MacOSAddCertificateToUserProfileDirError(certificate.Thumbprint, ex.Message);
374Path.Combine(MacOSUserHttpsCertificateLocation, $"aspnetcore-localhost-{certificate.Thumbprint}.pfx");
424EqualityComparer<string>.Default.Equals(x?.Thumbprint, y?.Thumbprint);
428EqualityComparer<string>.Default.GetHashCode(obj.Thumbprint);
471Log.MacOSRemoveCertificateFromUserProfileDirError(certificate.Thumbprint, ex.Message);
Templates.Tests (16)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (11)
15/// Normally, we avoid the use of <see cref="X509Certificate2.Thumbprint"/> because it's a SHA-1 hash and, therefore,
146Log.MacOSAddCertificateToUserProfileDirError(candidate.Thumbprint, ex.Message);
244certificate.Thumbprint.ToUpperInvariant(),
265throw new InvalidOperationException($@"There was an error removing the certificate with thumbprint '{certificate.Thumbprint}'.
301return hashes.Any(h => string.Equals(h, certificate.Thumbprint, StringComparison.Ordinal));
327Log.MacOSAddCertificateToUserProfileDirError(certificate.Thumbprint, ex.Message);
374Path.Combine(MacOSUserHttpsCertificateLocation, $"aspnetcore-localhost-{certificate.Thumbprint}.pfx");
424EqualityComparer<string>.Default.Equals(x?.Thumbprint, y?.Thumbprint);
428EqualityComparer<string>.Default.GetHashCode(obj.Thumbprint);
471Log.MacOSRemoveCertificateFromUserProfileDirError(certificate.Thumbprint, ex.Message);