20 references to Equals
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
861/// <see cref="X509Certificate.Equals(X509Certificate?)"/> is not adequate for security purposes.
InMemory.FunctionalTests (6)
HttpsConnectionMiddlewareTests.cs (6)
295Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2)); 325Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2)); 358Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2)); 393Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2)); 400Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2NoExt)); 462Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2));
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
861/// <see cref="X509Certificate.Equals(X509Certificate?)"/> is not adequate for security purposes.
Microsoft.AspNetCore.Server.Kestrel.Core (2)
CertificateLoader.cs (1)
118if (!certificate.Equals(except))
src\Shared\CertificateGeneration\CertificateManager.cs (1)
861/// <see cref="X509Certificate.Equals(X509Certificate?)"/> is not adequate for security purposes.
Microsoft.AspNetCore.Testing (1)
FakeCertificateHttpClientHandler.cs (1)
16if (serverCertificate is null || !serverCertificate.Equals(certificate))
System.Net.Security (2)
System\Net\Security\SslStream.Protocol.cs (2)
526Debug.Assert((object?)clientCertificate == (object?)selectedCert || clientCertificate!.Equals(selectedCert), "'selectedCert' does not match 'clientCertificate'."); 738Debug.Assert(localCertificate.Equals(selectedCert), "'selectedCert' does not match 'localCertificate'.");
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\OpenSslDirectoryBasedStoreProvider.cs (1)
269if (candidate.Equals(cert))
System\Security\Cryptography\X509Certificates\X509Certificate.cs (1)
297public override bool Equals([NotNullWhen(true)] object? obj) => obj is X509Certificate other && Equals(other);
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
861/// <see cref="X509Certificate.Equals(X509Certificate?)"/> is not adequate for security purposes.
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
861/// <see cref="X509Certificate.Equals(X509Certificate?)"/> is not adequate for security purposes.
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
861/// <see cref="X509Certificate.Equals(X509Certificate?)"/> is not adequate for security purposes.
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
861/// <see cref="X509Certificate.Equals(X509Certificate?)"/> is not adequate for security purposes.
Templates.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
861/// <see cref="X509Certificate.Equals(X509Certificate?)"/> is not adequate for security purposes.