18 references to X509CertificateCollection
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
592clientCertificates = new X509CertificateCollection();
InMemory.FunctionalTests (3)
HttpsConnectionMiddlewareTests.cs (3)
425stream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.Tls12 | SslProtocols.Tls11, false)); 487stream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.Tls12 | SslProtocols.Tls11, false)); 1151async () => await stream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.Tls, false));
Interop.FunctionalTests (1)
HttpHelpers.cs (1)
45ClientCertificates = !includeClientCert ? null : new X509CertificateCollection() { TestResources.GetTestCertificate() },
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnectionOptions.cs (1)
51_clientCertificates = new X509CertificateCollection();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
QuicConnectionListenerTests.cs (1)
119options.ClientAuthenticationOptions.ClientCertificates = new X509CertificateCollection { testCert };
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HttpConnectionFactoryTests.cs (1)
88{ $"{nameof(HttpConnectionOptions.ClientCertificates)}", new X509CertificateCollection() },
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (1)
698await sslStream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.None, false);
System.Net.Http (1)
System\Net\Http\HttpClientHandler.cs (1)
300(_underlyingHandler.SslOptions.ClientCertificates = new X509CertificateCollection());
System.Net.Mail (1)
System\Net\Mail\SmtpTransport.cs (1)
85internal X509CertificateCollection ClientCertificates => _clientCertificates ??= new X509CertificateCollection();
System.Net.Quic (1)
System\Net\Quic\Internal\MsQuicConfiguration.cs (1)
45authenticationOptions.ClientCertificates ?? new X509CertificateCollection(),
System.Net.Requests (2)
System\Net\FtpWebRequest.cs (1)
1533return LazyInitializer.EnsureInitialized(ref _clientCertificates, ref _syncObject, () => new X509CertificateCollection());
System\Net\HttpWebRequest.cs (1)
801get => _clientCertificates ??= new X509CertificateCollection();
System.Net.Security (2)
System\Net\Security\SslStream.Protocol.cs (2)
347_sslAuthenticationOptions.ClientCertificates ??= new X509CertificateCollection(); 698X509CertificateCollection tempCollection = new X509CertificateCollection();
System.Net.WebSockets.Client (1)
System\Net\WebSockets\ClientWebSocketOptions.cs (1)
123get => _clientCertificates ??= new X509CertificateCollection();
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
361clientCertificates = new X509CertificateCollection();