222 references to Thumbprint
Aspire.Dashboard.Tests (7)
Aspire.Hosting (14)
Dcp\DcpExecutor.cs (14)
1625CertificatePath = ReferenceExpression.Create($"{Path.Join(baseServerAuthOutputPath, $"{cert.Thumbprint}.crt")}"),
1626KeyPath = ReferenceExpression.Create($"{Path.Join(baseServerAuthOutputPath, $"{cert.Thumbprint}.key")}"),
1627PfxPath = ReferenceExpression.Create($"{Path.Join(baseServerAuthOutputPath, $"{cert.Thumbprint}.pfx")}"),
1644Thumbprint = c.Thumbprint,
1656var thumbprint = tlsCertificateConfiguration.Certificate.Thumbprint;
1967CertificatePath = ReferenceExpression.Create($"{serverAuthCertificatesBasePath}/{cert.Thumbprint}.crt"),
1968KeyPath = ReferenceExpression.Create($"{serverAuthCertificatesBasePath}/{cert.Thumbprint}.key"),
1969PfxPath = ReferenceExpression.Create($"{serverAuthCertificatesBasePath}/{cert.Thumbprint}.pfx"),
1986Thumbprint = c.Thumbprint,
2014var thumbprint = tlsCertificateConfiguration.Certificate.Thumbprint;
2031var thumbprint = tlsCertificateConfiguration.Certificate.Thumbprint;
2574var lookup = certificate.Thumbprint;
2678if (tempCert.Thumbprint.Equals(certificate.Thumbprint, StringComparison.Ordinal))
Aspire.Hosting.Tests (1)
Client.ChannelLayer.IntegrationTests (3)
dotnet-dev-certs (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);
dotnet-svcutil-lib (6)
Infrastructure.Common (8)
InMemory.FunctionalTests (1)
Microsoft.AspNetCore.Authentication.Certificate (1)
Microsoft.AspNetCore.Authentication.Test (1)
Microsoft.AspNetCore.DataProtection (3)
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.AspNetCore.Shared.Tests (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);
Security.TransportSecurity.IntegrationTests (11)
System.Net.Http (2)
System.Security.Cryptography (3)
System.ServiceModel.Http (3)
System.ServiceModel.Primitives (3)
System.ServiceModel.Primitives.Tests (6)
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);